gsarti commited on
Commit
e0116a9
Β·
1 Parent(s): 645be2c

Remove api usage

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)