Spaces:
Runtime error
Runtime error
Commit
·
7a3944e
1
Parent(s):
4403db2
correct sound bug
Browse files
app.py
CHANGED
|
@@ -937,9 +937,9 @@ with gr.Blocks() as demo:
|
|
| 937 |
# then(HMI_Runing, None, [submit_button, stop_button]).\
|
| 938 |
# then(playsound, None, voice_output).\
|
| 939 |
# then(HMI_Wait, None, [submit_button, stop_button])
|
| 940 |
-
inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
|
| 941 |
-
|
| 942 |
-
|
| 943 |
inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
| 944 |
success(HMI_Runing, None, [submit_button, stop_button]).\
|
| 945 |
success(playsound, None, voice_output).\
|
|
|
|
| 937 |
# then(HMI_Runing, None, [submit_button, stop_button]).\
|
| 938 |
# then(playsound, None, voice_output).\
|
| 939 |
# then(HMI_Wait, None, [submit_button, stop_button])
|
| 940 |
+
# inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
|
| 941 |
+
inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
| 942 |
+
success(playsound, None, voice_output)
|
| 943 |
inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
| 944 |
success(HMI_Runing, None, [submit_button, stop_button]).\
|
| 945 |
success(playsound, None, voice_output).\
|