Update app.py
Browse files
app.py
CHANGED
@@ -509,5 +509,5 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
509 |
submit.click(user3, [msg, chatbot, file_output], [msg, chatbot, file_output], queue=True).then(File_Interact, [chatbot, filepath],chatbot)
|
510 |
chatbot.like(print_like_dislike, None, None)
|
511 |
|
512 |
-
demo.queue(max_size=10, default_concurrency_limit=4
|
513 |
-
demo.launch(max_file_size="5mb",show_api=False,max_threads=50,max_batch_size=4)
|
|
|
509 |
submit.click(user3, [msg, chatbot, file_output], [msg, chatbot, file_output], queue=True).then(File_Interact, [chatbot, filepath],chatbot)
|
510 |
chatbot.like(print_like_dislike, None, None)
|
511 |
|
512 |
+
demo.queue(max_size=10, default_concurrency_limit=4)
|
513 |
+
demo.launch(max_file_size="5mb",show_api=False,max_threads=50,max_batch_size=4,batch=True)
|