Spaces:
Runtime error
Runtime error
Commit
·
dc2754c
1
Parent(s):
1ae02b6
correct quque
Browse files
app.py
CHANGED
|
@@ -1837,7 +1837,7 @@ with gr.Blocks() as demo:
|
|
| 1837 |
# then(HMI_Wait, None, [submit_button, stop_button])
|
| 1838 |
# inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
|
| 1839 |
''' open ai | new'''
|
| 1840 |
-
inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]
|
| 1841 |
success(playsound1, None, voice_output, queue=False)#.\
|
| 1842 |
# success(ClearAudio, None, voice_output)
|
| 1843 |
|
|
@@ -1845,7 +1845,7 @@ with gr.Blocks() as demo:
|
|
| 1845 |
# inf4 = inputtext.submit(chatremote, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
| 1846 |
# success(playsound1, None, voice_output)
|
| 1847 |
|
| 1848 |
-
inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]
|
| 1849 |
success(HMI_Runing, None, [submit_button, stop_button], queue=False).\
|
| 1850 |
success(playsound1, None, voice_output, queue=False).\
|
| 1851 |
success(HMI_Wait, None, [submit_button, stop_button], queue=False)#.\
|
|
|
|
| 1837 |
# then(HMI_Wait, None, [submit_button, stop_button])
|
| 1838 |
# inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
|
| 1839 |
''' open ai | new'''
|
| 1840 |
+
inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
| 1841 |
success(playsound1, None, voice_output, queue=False)#.\
|
| 1842 |
# success(ClearAudio, None, voice_output)
|
| 1843 |
|
|
|
|
| 1845 |
# inf4 = inputtext.submit(chatremote, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
| 1846 |
# success(playsound1, None, voice_output)
|
| 1847 |
|
| 1848 |
+
inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
| 1849 |
success(HMI_Runing, None, [submit_button, stop_button], queue=False).\
|
| 1850 |
success(playsound1, None, voice_output, queue=False).\
|
| 1851 |
success(HMI_Wait, None, [submit_button, stop_button], queue=False)#.\
|