OuroborosM commited on
Commit
213bf11
·
1 Parent(s): 359c2b8

remove playsound

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -932,8 +932,9 @@ with gr.Blocks() as demo:
932
  # then(HMI_Runing, None, [submit_button, stop_button]).\
933
  # then(playsound, None, voice_output).\
934
  # then(HMI_Wait, None, [submit_button, stop_button])
935
- inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
936
- success(playsound, None, voice_output)
 
937
  inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
938
  success(HMI_Runing, None, [submit_button, stop_button]).\
939
  success(playsound, None, voice_output).\
 
932
  # then(HMI_Runing, None, [submit_button, stop_button]).\
933
  # then(playsound, None, voice_output).\
934
  # then(HMI_Wait, None, [submit_button, stop_button])
935
+ inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
936
+ # inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
937
+ # success(playsound, None, voice_output)
938
  inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
939
  success(HMI_Runing, None, [submit_button, stop_button]).\
940
  success(playsound, None, voice_output).\