jordandotzel commited on
Commit
2d7cd24
·
verified ·
1 Parent(s): 1e44444
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -109,9 +109,10 @@ with gr.Blocks(css=css) as demo:
109
 
110
 
111
  submit_canny_btn.click(
112
- fn = infer,
113
- inputs = [image_in, prompt, inference_steps, guidance_scale, control_weight],
114
- outputs = [result, canny_used],
 
115
  show_api=False
116
  )
117
 
 
109
 
110
 
111
  submit_canny_btn.click(
112
+ fn=infer,
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