Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ with gr.Blocks(theme=theme, fill_width=True, css=css) as app:
|
|
174 |
|
175 |
text_button.click(query, inputs=[custom_lora, text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=[image_output, seed_output])
|
176 |
|
177 |
-
|
178 |
if __name__ == "__main__":
|
179 |
timeout = 100
|
180 |
app.launch(show_api=False, share=False)
|
|
|
174 |
|
175 |
text_button.click(query, inputs=[custom_lora, text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=[image_output, seed_output])
|
176 |
|
177 |
+
app.queue(default_concurrency_limit=200, max_size=200) # <-- Sets up a queue with default parameters
|
178 |
if __name__ == "__main__":
|
179 |
timeout = 100
|
180 |
app.launch(show_api=False, share=False)
|