mlabonne mrfakename commited on
Commit
1b3a43e
1 Parent(s): 41d9278

Add queueing, disable API (#1)

Browse files

- Add queueing, disable API (69bb67af744baf5a14f9d377f547cf539ec2d6b1)


Co-authored-by: mrfakename <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -184,4 +184,4 @@ with gr.Blocks() as demo:
184
  out = gr.Image()
185
  btn.click(fn=create_family_tree, inputs=model_id, outputs=out)
186
 
187
- demo.launch()
 
184
  out = gr.Image()
185
  btn.click(fn=create_family_tree, inputs=model_id, outputs=out)
186
 
187
+ demo.queue(api_open=False).launch(show_api=False)