Spaces:
Sleeping
Sleeping
Commit
·
9867f03
1
Parent(s):
ce7e0df
Update app.py
Browse files
app.py
CHANGED
@@ -85,12 +85,9 @@ def fig2img(fig):
|
|
85 |
description = """Upload an image and get the predicted classes"""
|
86 |
title = """Object Detection"""
|
87 |
|
88 |
-
prob_threshold_slider = gr.components.Slider(
|
89 |
-
minimum=0, maximum=1.0, step=0.01, value=0.7, label="Probability Threshold"
|
90 |
-
)
|
91 |
image_in = gr.components.Image(label="Upload an image")
|
92 |
image_out = gr.components.Image()
|
93 |
-
|
94 |
|
95 |
classes_to_show = gr.components.Textbox(
|
96 |
placeholder="e.g. car, dog",
|
|
|
85 |
description = """Upload an image and get the predicted classes"""
|
86 |
title = """Object Detection"""
|
87 |
|
|
|
|
|
|
|
88 |
image_in = gr.components.Image(label="Upload an image")
|
89 |
image_out = gr.components.Image()
|
90 |
+
prob_threshold_slider = gr.components.Slider(minimum=0, maximum=1.0, step=0.01, value=0.7, label="Probability Threshold")
|
91 |
|
92 |
classes_to_show = gr.components.Textbox(
|
93 |
placeholder="e.g. car, dog",
|