allow concurrency
Browse files
app.py
CHANGED
@@ -544,4 +544,4 @@ with gr.Blocks(delete_cache=(86400, 86400)) as demo:
|
|
544 |
import_button.upload(import_history, inputs=[chatbot, import_button], outputs=[chatbot, system_prompt])
|
545 |
|
546 |
demo.unload(lambda: [os.remove(file) for file in temp_files])
|
547 |
-
demo.launch()
|
|
|
544 |
import_button.upload(import_history, inputs=[chatbot, import_button], outputs=[chatbot, system_prompt])
|
545 |
|
546 |
demo.unload(lambda: [os.remove(file) for file in temp_files])
|
547 |
+
demo.queue(default_concurrency_limit = None).launch()
|