Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -231,8 +231,8 @@ with gr.Blocks() as forest:
|
|
| 231 |
|
| 232 |
clear = gr.ClearButton([msg, chatbot])
|
| 233 |
|
| 234 |
-
chat_btn.click(chat, [msg, tools, voice_choice], [msg, chatbot,
|
| 235 |
-
msg.submit(chat, [msg, tools, voice_choice], [msg, chatbot,
|
| 236 |
mol.expand(mol_accordions, outputs = [talk_ele, chatbot])
|
| 237 |
prop.expand(prop_accordions, outputs = [talk_ele, chatbot])
|
| 238 |
prot.expand(prot_accordions, outputs = [talk_ele, chatbot])
|
|
|
|
| 231 |
|
| 232 |
clear = gr.ClearButton([msg, chatbot])
|
| 233 |
|
| 234 |
+
chat_btn.click(chat, [msg, tools, voice_choice], [msg, chatbot, talk_ele])
|
| 235 |
+
msg.submit(chat, [msg, tools, voice_choice], [msg, chatbot, talk_ele])
|
| 236 |
mol.expand(mol_accordions, outputs = [talk_ele, chatbot])
|
| 237 |
prop.expand(prop_accordions, outputs = [talk_ele, chatbot])
|
| 238 |
prot.expand(prot_accordions, outputs = [talk_ele, chatbot])
|