Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,5 +103,6 @@ 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 |
-
|
107 |
-
demo.
|
|
|
|
103 |
msg.submit(respond, [msg, chatbot, persona_input, quotes_input], [msg, chatbot])
|
104 |
clear.click(lambda: None, None, chatbot, queue=False)
|
105 |
|
106 |
+
if __name__ == "__main__":
|
107 |
+
demo.queue(max_size=20)
|
108 |
+
demo.launch(max_threads = 5)
|