yuragoithf commited on
Commit
85808e2
·
1 Parent(s): c3d571c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -93,11 +93,9 @@ classes_to_show = gr.components.Textbox(
93
  label="Classes to filter (leave empty to detect all classes)",
94
  )
95
 
96
- Iface = gr.Interface(
97
- fn=model_inference,
98
- inputs=[image_in, prob_threshold_slider, classes_to_show],
99
- outputs=image_out,
100
- title="Object Detection",
101
- examples=["CTH.png", "carplane.webp"],
102
- description=description,
103
- ).launch()
 
93
  label="Classes to filter (leave empty to detect all classes)",
94
  )
95
 
96
+ gr.Interface(fn=model_inference,
97
+ inputs=[image_in, prob_threshold_slider, classes_to_show],
98
+ outputs=image_out,
99
+ title="Object Detection",
100
+ examples=["CTH.png", "carplane.webp"],
101
+ description=description).launch()