Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
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,
|