akhaliq HF staff commited on
Commit
c0fd5ba
1 Parent(s): 11cbe6e

turn off api

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,4 +52,4 @@ with gr.Blocks(fill_height=True) as demo:
52
  demo_flux.render()
53
 
54
  if __name__ == "__main__":
55
- demo.launch(ssr_mode=False)
 
52
  demo_flux.render()
53
 
54
  if __name__ == "__main__":
55
+ demo.queue(api_open=False).launch(ssr_mode=False, show_api=False)