cafierom commited on
Commit
a12377e
·
verified ·
1 Parent(s): c451855

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, elitas_voice])
235
- msg.submit(chat, [msg, tools, voice_choice], [msg, chatbot, elitas_voice])
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])