Spaces:
Runtime error
Runtime error
yuntian-deng
commited on
Commit
•
f7b374f
1
Parent(s):
c0bd714
Update app.py
Browse files
app.py
CHANGED
@@ -196,4 +196,4 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
|
196 |
b1.click(reset_textbox, [], [inputs, b1], queue=False)
|
197 |
b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code, inputs, b1],) #openai_api_key
|
198 |
|
199 |
-
demo.queue(max_size=
|
|
|
196 |
b1.click(reset_textbox, [], [inputs, b1], queue=False)
|
197 |
b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code, inputs, b1],) #openai_api_key
|
198 |
|
199 |
+
demo.queue(max_size=10, concurrency_count=NUM_THREADS, api_open=False).launch(share=False)
|