larry1129 commited on
Commit
2bb32bf
·
verified ·
1 Parent(s): 90efbba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,9 +1,10 @@
 
1
  import gradio as gr
2
  from transformers import AutoTokenizer
3
  from peft import PeftModel
4
  import torch
5
  import os
6
- import spaces
7
 
8
  # 获取 Hugging Face 访问令牌
9
  hf_token = os.getenv("HF_API_TOKEN")
 
1
+ import spaces
2
  import gradio as gr
3
  from transformers import AutoTokenizer
4
  from peft import PeftModel
5
  import torch
6
  import os
7
+
8
 
9
  # 获取 Hugging Face 访问令牌
10
  hf_token = os.getenv("HF_API_TOKEN")