Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -229,7 +229,8 @@ if not run_api:
|
|
229 |
description="Generate images based on prompts.",
|
230 |
)
|
231 |
|
232 |
-
iface.launch()
|
|
|
233 |
|
234 |
|
235 |
if run_api:
|
|
|
229 |
description="Generate images based on prompts.",
|
230 |
)
|
231 |
|
232 |
+
#iface.launch()
|
233 |
+
iface.queue(max_size=32).launch(server_name="0.0.0.0", server_port=7860) # Docker
|
234 |
|
235 |
|
236 |
if run_api:
|