ruslanmv commited on
Commit
28ad340
1 Parent(s): 662c0c9

Update main.py

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