Spaces:
Running
Running
Update iface.queue launch parameters to disable API exposure and hide API documentation for improved security
Browse files
app.py
CHANGED
@@ -590,4 +590,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
590 |
)
|
591 |
|
592 |
if __name__ == "__main__":
|
593 |
-
iface.queue(max_size=64, default_concurrency_limit=1).launch(
|
|
|
|
|
|
590 |
)
|
591 |
|
592 |
if __name__ == "__main__":
|
593 |
+
iface.queue(max_size=64, default_concurrency_limit=1, api_open=False).launch(
|
594 |
+
share=True, show_api=False
|
595 |
+
)
|