Spaces:
Runtime error
Runtime error
Update bin_public/app/Chatbot.py
Browse files
bin_public/app/Chatbot.py
CHANGED
|
@@ -92,7 +92,7 @@ with gr.Blocks(css=customCSS) as demo:
|
|
| 92 |
cancelBtn = gr.Button("取消", variant="secondary", visible=False)
|
| 93 |
with gr.Row(scale=1):
|
| 94 |
finalBtn = gr.Button("诊断结果提交", variant="primary")
|
| 95 |
-
kaiyaoBtn = gr.Button("
|
| 96 |
with gr.Row(scale=1):
|
| 97 |
emptyBtn = gr.Button("🧹 新的对话", visible=False)
|
| 98 |
retryBtn = gr.Button("🔄 重新生成", visible=False)
|
|
@@ -315,7 +315,7 @@ with gr.Blocks(css=customCSS) as demo:
|
|
| 315 |
finalBtn.click(construct_zhenduan, [user_input], [user_input]).then(predict, [
|
| 316 |
keyTxt,
|
| 317 |
invite_code,
|
| 318 |
-
gr.Textbox('
|
| 319 |
history,
|
| 320 |
user_input,
|
| 321 |
chatbot,
|
|
|
|
| 92 |
cancelBtn = gr.Button("取消", variant="secondary", visible=False)
|
| 93 |
with gr.Row(scale=1):
|
| 94 |
finalBtn = gr.Button("诊断结果提交", variant="primary")
|
| 95 |
+
kaiyaoBtn = gr.Button("用药建议提交", variant="primary")
|
| 96 |
with gr.Row(scale=1):
|
| 97 |
emptyBtn = gr.Button("🧹 新的对话", visible=False)
|
| 98 |
retryBtn = gr.Button("🔄 重新生成", visible=False)
|
|
|
|
| 315 |
finalBtn.click(construct_zhenduan, [user_input], [user_input]).then(predict, [
|
| 316 |
keyTxt,
|
| 317 |
invite_code,
|
| 318 |
+
gr.Textbox('不管我说了什么,你只需要回复:“好的谢谢医生,有什么药品推荐吗”', visible=False),
|
| 319 |
history,
|
| 320 |
user_input,
|
| 321 |
chatbot,
|