Update app.py
Browse files
app.py
CHANGED
|
@@ -59,10 +59,10 @@ def predict(message, history):
|
|
| 59 |
# 已移除 examples 和 cache_examples 参数来修复点击示例时报错的问题
|
| 60 |
demo = gr.ChatInterface(
|
| 61 |
fn=predict,
|
| 62 |
-
title="
|
| 63 |
description=f"直接在Space中运行 {MODEL_ID} 模型进行流式对话。CPU推理可能较慢,请耐心等待。",
|
| 64 |
)
|
| 65 |
|
| 66 |
if __name__ == "__main__":
|
| 67 |
# 使用 share=True 来允许跨域 WebSocket 连接
|
| 68 |
-
demo.launch(share=True)
|
|
|
|
| 59 |
# 已移除 examples 和 cache_examples 参数来修复点击示例时报错的问题
|
| 60 |
demo = gr.ChatInterface(
|
| 61 |
fn=predict,
|
| 62 |
+
title="基于qwen3-0.6b微调的老师傅",
|
| 63 |
description=f"直接在Space中运行 {MODEL_ID} 模型进行流式对话。CPU推理可能较慢,请耐心等待。",
|
| 64 |
)
|
| 65 |
|
| 66 |
if __name__ == "__main__":
|
| 67 |
# 使用 share=True 来允许跨域 WebSocket 连接
|
| 68 |
+
demo.queue().launch(share=True)
|