jordandotzel commited on
Commit
2ff3a11
·
verified ·
1 Parent(s): 628e676
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,8 +113,8 @@ with gr.Blocks(css=css) as demo:
113
  inputs=[image_in, prompt, inference_steps, guidance_scale, control_weight],
114
  outputs=[result, canny_used],
115
  api_name="predict",
116
- show_api=False
117
  )
118
 
119
  # Enable API by setting enable_api=True
120
- demo.queue().launch()
 
113
  inputs=[image_in, prompt, inference_steps, guidance_scale, control_weight],
114
  outputs=[result, canny_used],
115
  api_name="predict",
116
+ show_api=True
117
  )
118
 
119
  # Enable API by setting enable_api=True
120
+ demo.queue().launch(show_api=True)