Spaces:
Sleeping
Sleeping
yuragoithf
commited on
Commit
•
0aed315
1
Parent(s):
cc1d35d
Update app.py
Browse files
app.py
CHANGED
@@ -95,11 +95,11 @@ classes_to_show = gr.components.Textbox(
|
|
95 |
label="Classes to filter (leave empty to detect all classes)",
|
96 |
)
|
97 |
|
98 |
-
inputs=[image_in, prob_threshold_slider, classes_to_show]
|
99 |
-
|
100 |
gr.Interface(fn=model_inference,
|
101 |
inputs=inputs,
|
102 |
outputs=image_out,
|
103 |
title=title,
|
104 |
-
examples=
|
105 |
description=description).launch()
|
|
|
95 |
label="Classes to filter (leave empty to detect all classes)",
|
96 |
)
|
97 |
|
98 |
+
inputs = [image_in, prob_threshold_slider, classes_to_show]
|
99 |
+
examples = ["CTH.png", "carplane.webp"]
|
100 |
gr.Interface(fn=model_inference,
|
101 |
inputs=inputs,
|
102 |
outputs=image_out,
|
103 |
title=title,
|
104 |
+
examples=examples,
|
105 |
description=description).launch()
|