PolarisFTL commited on
Commit
78b473f
·
verified ·
1 Parent(s): a005335

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks(title="MASFNet Object Detection",
73
  gr.HTML("""<h4 style="color:navy;">4. Then, click "Infer" button to predict object instances. It will take about 10 seconds (yolos-tiny) or 20 seconds (yolos-small).</h4>""")
74
 
75
  send_btn = gr.Button("Infer")
76
- send_btn.click(fn=infer, inputs=[input_image], outputs=[output_image])
77
 
78
  gr.HTML("""<br/>""")
79
  gr.HTML("""<h4 style="color:navy;">Reference</h4>""")
 
73
  gr.HTML("""<h4 style="color:navy;">4. Then, click "Infer" button to predict object instances. It will take about 10 seconds (yolos-tiny) or 20 seconds (yolos-small).</h4>""")
74
 
75
  send_btn = gr.Button("Infer")
76
+ send_btn.click(fn=predict, inputs=[input_image], outputs=[output_image])
77
 
78
  gr.HTML("""<br/>""")
79
  gr.HTML("""<h4 style="color:navy;">Reference</h4>""")