Add queueing, disable API

#1
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)