Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -154,8 +154,8 @@ with gr.Blocks(css="""
|
|
154 |
minimum=-0, maximum=5.0, value=0.1, step=0.1, interactive=False, visible=False)
|
155 |
chat_counter = gr.Number(value=0, visible=False, precision=0)
|
156 |
|
157 |
-
inputs.submit(predict, [system_msg, inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter], concurrency_limit=
|
158 |
-
|
159 |
inputs.submit(reset_textbox, [], [inputs])
|
160 |
|
|
|
161 |
demo.queue(max_size=10).launch(debug=True)
|
|
|
154 |
minimum=-0, maximum=5.0, value=0.1, step=0.1, interactive=False, visible=False)
|
155 |
chat_counter = gr.Number(value=0, visible=False, precision=0)
|
156 |
|
157 |
+
inputs.submit(predict, [system_msg, inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter], concurrency_limit=10)
|
|
|
158 |
inputs.submit(reset_textbox, [], [inputs])
|
159 |
|
160 |
+
|
161 |
demo.queue(max_size=10).launch(debug=True)
|