Spaces:
Runtime error
Runtime error
Commit
·
a45d345
1
Parent(s):
569bae0
correct bug
Browse files
app.py
CHANGED
@@ -1053,12 +1053,12 @@ with gr.Blocks() as demo:
|
|
1053 |
# then(HMI_Wait, None, [submit_button, stop_button])
|
1054 |
# inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
|
1055 |
inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
1056 |
-
success(playsound1, None, voice_output)
|
1057 |
# success(ClearAudio, None, voice_output)
|
1058 |
inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
1059 |
success(HMI_Runing, None, [submit_button, stop_button]).\
|
1060 |
success(playsound1, None, voice_output).\
|
1061 |
-
success(HMI_Wait, None, [submit_button, stop_button])
|
1062 |
# success(ClearAudio, None, voice_output)
|
1063 |
# inf2 = inputtext.submit(display_input, [inputtext, chatbot], chatbot).\
|
1064 |
# then(Inference_Agent, chatbot, [inputtext, chatbot])
|
|
|
1053 |
# then(HMI_Wait, None, [submit_button, stop_button])
|
1054 |
# inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
|
1055 |
inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
1056 |
+
success(playsound1, None, voice_output)#.\
|
1057 |
# success(ClearAudio, None, voice_output)
|
1058 |
inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
1059 |
success(HMI_Runing, None, [submit_button, stop_button]).\
|
1060 |
success(playsound1, None, voice_output).\
|
1061 |
+
success(HMI_Wait, None, [submit_button, stop_button])#.\
|
1062 |
# success(ClearAudio, None, voice_output)
|
1063 |
# inf2 = inputtext.submit(display_input, [inputtext, chatbot], chatbot).\
|
1064 |
# then(Inference_Agent, chatbot, [inputtext, chatbot])
|