Spaces:
Runtime error
Runtime error
Commit
·
5200c8d
1
Parent(s):
b8f31c9
update queue
Browse files
app.py
CHANGED
@@ -1853,7 +1853,7 @@ with gr.Blocks() as demo:
|
|
1853 |
|
1854 |
# inf2 = inputtext.submit(display_input, [inputtext, chatbot], chatbot).\
|
1855 |
# then(Inference_Agent, chatbot, [inputtext, chatbot])
|
1856 |
-
stop_button.click(read_logs, None, logs, cancels=[inf4,inf3]
|
1857 |
then(HMI_Wait, None, [submit_button, stop_button], queue=False)
|
1858 |
# stop_button.click(read_logs, None, logs, cancels=[inf2])
|
1859 |
upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
|
|
|
1853 |
|
1854 |
# inf2 = inputtext.submit(display_input, [inputtext, chatbot], chatbot).\
|
1855 |
# then(Inference_Agent, chatbot, [inputtext, chatbot])
|
1856 |
+
stop_button.click(read_logs, None, logs, cancels=[inf4,inf3]).\
|
1857 |
then(HMI_Wait, None, [submit_button, stop_button], queue=False)
|
1858 |
# stop_button.click(read_logs, None, logs, cancels=[inf2])
|
1859 |
upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
|