hakakusan commited on
Commit
ecbb549
·
verified ·
1 Parent(s): af2fa06

Harden public JSON lab access

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -251,4 +251,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), title="Ideogram 4 JSON Lab", css=CSS) a
251
  outputs=[out_image, seed, out_caption, out_text],
252
  )
253
 
254
- demo.launch()
 
251
  outputs=[out_image, seed, out_caption, out_text],
252
  )
253
 
254
+ demo.queue(api_open=False, max_size=8, default_concurrency_limit=1).launch(footer_links=["settings"])