sacj AdityA36912355 commited on
Commit
aeee019
1 Parent(s): 4adf5b1

Update app.py (#3)

Browse files

- Update app.py (e3a8adaabbe2b0b0bdbeaddd0c30bae8542e5971)


Co-authored-by: Aditya Deshmukh <[email protected]>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -462,5 +462,5 @@ with gr.Blocks(css="style.css") as demo:
462
  outputs=[inpaint_result, gallery],
463
  )
464
 
465
- demo.queue()
466
- demo.launch(share=False, server_name="0.0.0.0", server_port=7860)
 
462
  outputs=[inpaint_result, gallery],
463
  )
464
 
465
+ demo.queue(concurrency_count=1, max_size=1, api_open=True)
466
+ demo.launch(show_api=True, share=False, server_name="0.0.0.0", server_port=7860)