asalhi85 commited on
Commit
d5ae9c0
1 Parent(s): 8f56e3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ with gr.Blocks(title=title,
124
 
125
  gr.HTML("""<h5 style="color:navy;">5- Then, click "Submit" button to predict object instances. It will take about 15-20 seconds (on cpu)</h5>""")
126
  send_btn = gr.Button("Submit")
127
- send_btn.click(fn=inference, inputs=[input_url,input_image,sliderr], outputs=[output_image])
128
 
129
  #gr.HTML("""<h5 style="color:navy;">Reference</h5>""")
130
  #gr.HTML("""<ul>""")
 
124
 
125
  gr.HTML("""<h5 style="color:navy;">5- Then, click "Submit" button to predict object instances. It will take about 15-20 seconds (on cpu)</h5>""")
126
  send_btn = gr.Button("Submit")
127
+ send_btn.click(fn=inference, inputs=[input_url,input_image,sliderr], outputs=[output_image], api_name="find")
128
 
129
  #gr.HTML("""<h5 style="color:navy;">Reference</h5>""")
130
  #gr.HTML("""<ul>""")