Junjie96 commited on
Commit
c85903e
β€’
1 Parent(s): f0ce711

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -383,6 +383,6 @@ if __name__ == "__main__":
383
  with gr.TabItem("Image-to-Single-ID (Stylization)"):
384
  image_to_single_id_generation_block()
385
 
386
- block.launch(share=True)
387
  # block.launch(server_name='0.0.0.0', share=False, server_port=9999, allowed_paths=["/"])
388
  # block.launch(server_name='127.0.0.1', share=False, server_port=9999, allowed_paths=["/"])
 
383
  with gr.TabItem("Image-to-Single-ID (Stylization)"):
384
  image_to_single_id_generation_block()
385
 
386
+ block.launch(share=True, max_threads=2)
387
  # block.launch(server_name='0.0.0.0', share=False, server_port=9999, allowed_paths=["/"])
388
  # block.launch(server_name='127.0.0.1', share=False, server_port=9999, allowed_paths=["/"])