QLWD commited on
Commit
42439cb
·
verified ·
1 Parent(s): c93c98a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,9 +1,9 @@
 
1
  import torch
2
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
3
  from peft import PeftModel
4
  import gradio as gr
5
  from threading import Thread
6
- import spaces
7
  import os
8
 
9
  # 从环境变量中获取 Hugging Face 模型信息
 
1
+ import spaces
2
  import torch
3
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
4
  from peft import PeftModel
5
  import gradio as gr
6
  from threading import Thread
 
7
  import os
8
 
9
  # 从环境变量中获取 Hugging Face 模型信息