Spaces:
Runtime error
Runtime error
Commit
·
c620be9
1
Parent(s):
235a43e
switch back
Browse files
app.py
CHANGED
|
@@ -1259,14 +1259,14 @@ with gr.Blocks() as demo:
|
|
| 1259 |
# then(playsound, None, voice_output).\
|
| 1260 |
# then(HMI_Wait, None, [submit_button, stop_button])
|
| 1261 |
# inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
|
| 1262 |
-
''' open ai '''
|
| 1263 |
-
|
| 1264 |
-
|
| 1265 |
# success(ClearAudio, None, voice_output)
|
| 1266 |
|
| 1267 |
-
'''
|
| 1268 |
-
inf4 = inputtext.submit(chatremote, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
| 1269 |
-
|
| 1270 |
|
| 1271 |
inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
| 1272 |
success(HMI_Runing, None, [submit_button, stop_button]).\
|
|
|
|
| 1259 |
# then(playsound, None, voice_output).\
|
| 1260 |
# then(HMI_Wait, None, [submit_button, stop_button])
|
| 1261 |
# inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button])
|
| 1262 |
+
''' open ai | new'''
|
| 1263 |
+
inf4 = inputtext.submit(chathmi4, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
| 1264 |
+
success(playsound1, None, voice_output)#.\
|
| 1265 |
# success(ClearAudio, None, voice_output)
|
| 1266 |
|
| 1267 |
+
''' Test '''
|
| 1268 |
+
# inf4 = inputtext.submit(chatremote, [inputtext, chatbot], [inputtext, chatbot, submit_button, stop_button]).\
|
| 1269 |
+
# success(playsound1, None, voice_output)
|
| 1270 |
|
| 1271 |
inf3 = submit_button.click(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
| 1272 |
success(HMI_Runing, None, [submit_button, stop_button]).\
|