Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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>""")
|