Rioo26 commited on
Commit
514db1d
·
verified ·
1 Parent(s): 5656411

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Use a pipeline as a high-level helper
5
- pipe = pipeline("text-generation", model="X-D-Lab/MindChat-Qwen2-0_5B")
6
 
7
  # 初始化对话历史
8
  history = []
 
2
  from transformers import pipeline
3
 
4
  # Use a pipeline as a high-level helper
5
+ pipe = pipeline("feature-extraction", model="X-D-Lab/MindChat-Qwen-1_8B", trust_remote_code=True)
6
 
7
  # 初始化对话历史
8
  history = []