yuntian-deng commited on
Commit
ce5f563
1 Parent(s): 7ea05a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -232,4 +232,4 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
232
  b1.click(reset_textbox, [], [inputs, b1], queue=False)
233
  b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code, inputs, b1],) #openai_api_key
234
 
235
- demo.queue(max_size=10, concurrency_count=NUM_THREADS, api_open=False).launch(share=False)
 
232
  b1.click(reset_textbox, [], [inputs, b1], queue=False)
233
  b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code, inputs, b1],) #openai_api_key
234
 
235
+ demo.queue(max_size=10, default_concurrency_limit=NUM_THREADS, api_open=False).launch(share=False)