ttengwang commited on
Commit
e3aa7a8
2 Parent(s): 5c74464 de115af

Merge branch 'main' of https://huggingface.co/spaces/wybertwang/Caption-Anything into main

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=1, api_open=False, max_size=10)
287
- iface.launch(server_name="0.0.0.0", enable_queue=True, server_port=args.port, share=args.gradio_share)
 
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)