Spaces:
Running
Running
yuntian-deng
commited on
Commit
•
f595a08
1
Parent(s):
72553ca
Update app.py
Browse files
app.py
CHANGED
@@ -186,4 +186,4 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
|
186 |
b1.click(reset_textbox, [], [inputs, b1], queue=False)
|
187 |
b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code, inputs, b1],) #openai_api_key
|
188 |
|
189 |
-
demo.queue(max_size=20, concurrency_count=
|
|
|
186 |
b1.click(reset_textbox, [], [inputs, b1], queue=False)
|
187 |
b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code, inputs, b1],) #openai_api_key
|
188 |
|
189 |
+
demo.queue(max_size=20, concurrency_count=2, api_open=False).launch()
|