Spaces:
Runtime error
Runtime error
Commit
·
2efc726
1
Parent(s):
250dec4
new UI try
Browse files
app.py
CHANGED
@@ -707,7 +707,7 @@ with gr.Blocks() as demo:
|
|
707 |
# logs = gr.Textbox()
|
708 |
frash_logs = gr.Button("Update Logs ...")
|
709 |
logs = gr.Textbox(max_lines = 25)
|
710 |
-
|
711 |
inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot])
|
712 |
stop_button.click(read_logs, None, logs, cancels=[inf1])
|
713 |
upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
|
|
|
707 |
# logs = gr.Textbox()
|
708 |
frash_logs = gr.Button("Update Logs ...")
|
709 |
logs = gr.Textbox(max_lines = 25)
|
710 |
+
upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
|
711 |
inf1 = inputtext.submit(chathmi3, [inputtext, chatbot], [inputtext, chatbot])
|
712 |
stop_button.click(read_logs, None, logs, cancels=[inf1])
|
713 |
upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
|