Spaces:
Running on Zero
Running on Zero
Harden public JSON lab access
Browse files
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"])
|