Spaces:
Sleeping
Sleeping
Commit ·
fc6f78e
1
Parent(s): 365c258
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ image_out = gr.components.Image()
|
|
| 85 |
classes_to_show = gr.components.Textbox(placeholder="e.g. car, dog", label="Classes to filter (leave empty to detect all classes)")
|
| 86 |
prob_threshold_slider = gr.components.Slider(minimum=0, maximum=1.0, step=0.01, value=0.7, label="Probability Threshold")
|
| 87 |
inputs = [image_in, prob_threshold_slider, classes_to_show]
|
| 88 |
-
gr.Examples([['carplane.webp'], ['CTH.png']], inputs=image_in)
|
| 89 |
|
| 90 |
gr.Interface(fn=model_inference,
|
| 91 |
inputs=inputs,
|
|
|
|
| 85 |
classes_to_show = gr.components.Textbox(placeholder="e.g. car, dog", label="Classes to filter (leave empty to detect all classes)")
|
| 86 |
prob_threshold_slider = gr.components.Slider(minimum=0, maximum=1.0, step=0.01, value=0.7, label="Probability Threshold")
|
| 87 |
inputs = [image_in, prob_threshold_slider, classes_to_show]
|
| 88 |
+
# gr.Examples([['carplane.webp'], ['CTH.png']], inputs=image_in)
|
| 89 |
|
| 90 |
gr.Interface(fn=model_inference,
|
| 91 |
inputs=inputs,
|