OuroborosM commited on
Commit
9be3d38
·
1 Parent(s): a45d345

correct try

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1043,8 +1043,8 @@ with gr.Blocks() as demo:
1043
  # upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
1044
  clear_button.click(clearall, None, [chatbot, submit_button, stop_button], voice_output)
1045
  retry_button.click(retry, chatbot, chatbot).success(playsound1, None, voice_output).\
1046
- success(HMI_Wait, None, [submit_button, stop_button]).\
1047
- success(ClearAudio, None, voice_output)
1048
  # inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
1049
  # then(playsound, None, voice_output)
1050
  # inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
 
1043
  # upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
1044
  clear_button.click(clearall, None, [chatbot, submit_button, stop_button], voice_output)
1045
  retry_button.click(retry, chatbot, chatbot).success(playsound1, None, voice_output).\
1046
+ success(HMI_Wait, None, [submit_button, stop_button])#.\
1047
+ # success(ClearAudio, None, voice_output)
1048
  # inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
1049
  # then(playsound, None, voice_output)
1050
  # inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\