Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -26,13 +26,9 @@ def detect(img):
|
|
26 |
image_in = gr.components.Image()
|
27 |
image_out = gr.components.Image()
|
28 |
|
29 |
-
classes_to_show = gr.components.Textbox(placeholder="e.g. person, boat", label="Classes to use (empty means all classes)")
|
30 |
-
|
31 |
Iface = gr.Interface(
|
32 |
fn=detect,
|
33 |
inputs=image_in,
|
34 |
outputs=image_out,
|
35 |
-
|
36 |
title="Object Detection with YOLOS",
|
37 |
-
description=description,
|
38 |
).launch()
|
|
|
26 |
image_in = gr.components.Image()
|
27 |
image_out = gr.components.Image()
|
28 |
|
|
|
|
|
29 |
Iface = gr.Interface(
|
30 |
fn=detect,
|
31 |
inputs=image_in,
|
32 |
outputs=image_out,
|
|
|
33 |
title="Object Detection with YOLOS",
|
|
|
34 |
).launch()
|