Update app.py
Browse files
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("
|
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 = []
|