Spaces:
Runtime error
Runtime error
Commit ·
174bb61
1
Parent(s): 6b8df87
Update app.py
Browse files
app.py
CHANGED
|
@@ -530,7 +530,7 @@ with gr.Blocks() as demo:
|
|
| 530 |
b1.click(reset_textbox, [], [inputs, b1], queue=False)
|
| 531 |
b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code, inputs, b1],) #openai_api_key
|
| 532 |
|
| 533 |
-
|
| 534 |
|
| 535 |
|
| 536 |
|
|
|
|
| 530 |
b1.click(reset_textbox, [], [inputs, b1], queue=False)
|
| 531 |
b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code, inputs, b1],) #openai_api_key
|
| 532 |
|
| 533 |
+
demo.queue(max_size=20, concurrency_count=10, api_open=False).launch()
|
| 534 |
|
| 535 |
|
| 536 |
|