Spaces:
Runtime error
Runtime error
Commit
·
6c8c2d3
1
Parent(s):
9d34141
correct retry defect
Browse files
app.py
CHANGED
@@ -930,7 +930,8 @@ with gr.Blocks() as demo:
|
|
930 |
logs = gr.Textbox(max_lines = 25)
|
931 |
# upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
|
932 |
clear_button.click(clearall, None, [chatbot, submit_button, stop_button], voice_output)
|
933 |
-
retry_button.click(retry, chatbot, chatbot).
|
|
|
934 |
# inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
935 |
# then(playsound, None, voice_output)
|
936 |
# inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
|
|
930 |
logs = gr.Textbox(max_lines = 25)
|
931 |
# upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
|
932 |
clear_button.click(clearall, None, [chatbot, submit_button, stop_button], voice_output)
|
933 |
+
retry_button.click(retry, chatbot, chatbot).success(playsound, None, voice_output).\
|
934 |
+
success(HMI_Wait, None, [submit_button, stop_button])
|
935 |
# inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|
936 |
# then(playsound, None, voice_output)
|
937 |
# inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot]).\
|