jiayong commited on
Commit
f84caec
·
1 Parent(s): 9ab546a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -456,8 +456,8 @@ with gr.Blocks(title = "追影",
456
  # format_text = script_text_to_load_results.format(snapshots, referenceVideoSnapshots)
457
  # demo.load(_js = format_text)
458
 
459
-
460
- demo.queue(api_open=False, concurrency_count=1000).launch(
461
  server_name="0.0.0.0" if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
462
  share=False,
463
  server_port=7861,
 
456
  # format_text = script_text_to_load_results.format(snapshots, referenceVideoSnapshots)
457
  # demo.load(_js = format_text)
458
 
459
+ # concurrency_count concurrency_limit max_threads
460
+ demo.queue(api_open=False, max_threads=1000).launch(
461
  server_name="0.0.0.0" if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
462
  share=False,
463
  server_port=7861,