Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,5 +103,5 @@ with gr.Blocks() as demo:
|
|
103 |
msg.submit(respond, [msg, chatbot, persona_input, quotes_input], [msg, chatbot])
|
104 |
clear.click(lambda: None, None, chatbot, queue=False)
|
105 |
|
106 |
-
demo.queue(max_size=20)
|
107 |
-
demo.launch()
|
|
|
103 |
msg.submit(respond, [msg, chatbot, persona_input, quotes_input], [msg, chatbot])
|
104 |
clear.click(lambda: None, None, chatbot, queue=False)
|
105 |
|
106 |
+
demo.queue(max_size=20, api_open = False)
|
107 |
+
demo.launch(max_threads = 5)
|