hiko1999 commited on
Commit
a5ccbbd
·
1 Parent(s): e3781d9

Switch to CPU execution

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
  from PIL import Image
6
 
7
  # Hugging Face 模型仓库路径
8
- model_path = "hiko1999/Qwen2-Wildfire-VL-2B-Instruct" # 替换为你的模型路径
9
 
10
  # 加载 Hugging Face 上的模型和 processor
11
  tokenizer = AutoTokenizer.from_pretrained(model_path)
 
5
  from PIL import Image
6
 
7
  # Hugging Face 模型仓库路径
8
+ model_path = "hiko1999/Qwen2-Wildfire-2B" # 替换为你的模型路径
9
 
10
  # 加载 Hugging Face 上的模型和 processor
11
  tokenizer = AutoTokenizer.from_pretrained(model_path)