Remove api usage
Browse files
app.py
CHANGED
@@ -663,4 +663,4 @@ with gr.Blocks(css=custom_css) as demo:
|
|
663 |
outputs=[python_code_snippet, shell_code_snippet],
|
664 |
).then(lambda: Modal(visible=True), None, code_modal)
|
665 |
|
666 |
-
demo.launch(allowed_paths=["outputs/", "img/"])
|
|
|
663 |
outputs=[python_code_snippet, shell_code_snippet],
|
664 |
).then(lambda: Modal(visible=True), None, code_modal)
|
665 |
|
666 |
+
demo.queue(api_open=False, max_size=20).launch(allowed_paths=["outputs/", "img/"], show_api=False)
|