Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/wybertwang/Caption-Anything into main
Browse files
app.py
CHANGED
@@ -283,5 +283,5 @@ with gr.Blocks(
|
|
283 |
outputs=[chatbot, state, click_state, chat_input, image_input, wiki_output],
|
284 |
show_progress=False, queue=True)
|
285 |
|
286 |
-
iface.queue(concurrency_count=
|
287 |
-
iface.launch(server_name="0.0.0.0", enable_queue=True
|
|
|
283 |
outputs=[chatbot, state, click_state, chat_input, image_input, wiki_output],
|
284 |
show_progress=False, queue=True)
|
285 |
|
286 |
+
iface.queue(concurrency_count=5, api_open=False, max_size=10)
|
287 |
+
iface.launch(server_name="0.0.0.0", enable_queue=True)
|