Spaces:
Runtime error
Runtime error
Update app.py
#1
by
wuki8888
- opened
app.py
CHANGED
@@ -66,7 +66,7 @@ def response(message, history):
|
|
66 |
time.sleep(0.05) # 每個字符間隔 0.05 秒
|
67 |
yield model_response[: i+1]
|
68 |
else:
|
69 |
-
yield "
|
70 |
|
71 |
# 建立 Gradio 聊天界面
|
72 |
gr.ChatInterface(response,
|
|
|
66 |
time.sleep(0.05) # 每個字符間隔 0.05 秒
|
67 |
yield model_response[: i+1]
|
68 |
else:
|
69 |
+
yield "喔~Sorry~,我可能需再了解相關資訊才能回覆您的問題。"
|
70 |
|
71 |
# 建立 Gradio 聊天界面
|
72 |
gr.ChatInterface(response,
|