Update iface.queue configuration to include api_open, max_thread_count, and status_update_rate for enhanced control
Browse files
app.py
CHANGED
@@ -588,4 +588,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
588 |
)
|
589 |
|
590 |
if __name__ == "__main__":
|
591 |
-
iface.queue(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
)
|
589 |
|
590 |
if __name__ == "__main__":
|
591 |
+
iface.queue(
|
592 |
+
max_size=64,
|
593 |
+
default_concurrency_limit=1,
|
594 |
+
api_open=False,
|
595 |
+
max_thread_count=1,
|
596 |
+
status_update_rate=1,
|
597 |
+
).launch(share=True, prevent_thread_lock=True)
|