Yaron Koresh commited on
Commit
c015b60
·
verified ·
1 Parent(s): 02f6c59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -224,7 +224,7 @@ def ui():
224
  result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
225
 
226
  run_button.click(fn=run,inputs=[prompt,prompt2,*result],outputs=result)
227
- demo.queue().launch(server_port=int(os.getenv("CUSTOM_PORT")))
228
 
229
  if __name__ == "__main__":
230
 
@@ -237,5 +237,5 @@ if __name__ == "__main__":
237
  pp2=pipe_i2i()
238
 
239
  mp.set_start_method("fork", force=True)
240
- port_inc()
241
  ui()
 
224
  result.append(gr.Image(interactive=False,elem_classes="image-container", label="Result", show_label=False, type='filepath', show_share_button=False))
225
 
226
  run_button.click(fn=run,inputs=[prompt,prompt2,*result],outputs=result)
227
+ demo.queue().launch()
228
 
229
  if __name__ == "__main__":
230
 
 
237
  pp2=pipe_i2i()
238
 
239
  mp.set_start_method("fork", force=True)
240
+ #port_inc()
241
  ui()