Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -223,12 +223,12 @@ def detect(image):
|
|
223 |
return image, 'Undetected', 'Undetected', 'Undetected'
|
224 |
|
225 |
iface=gr.Interface(detect,
|
226 |
-
inputs=gr.
|
227 |
-
outputs=[gr.
|
228 |
-
gr.
|
229 |
# gr.outputs.Image(label="Removed Background Image"),
|
230 |
-
gr.
|
231 |
-
gr.
|
232 |
],
|
233 |
title="Bangladeshi Traffic Sign, Detection, Shape-Color Recognition & Classification",
|
234 |
examples=['examples/1.jpg','./examples/2.jpg', './examples/4.jpg'],
|
|
|
223 |
return image, 'Undetected', 'Undetected', 'Undetected'
|
224 |
|
225 |
iface=gr.Interface(detect,
|
226 |
+
inputs=gr.Image(label="Upload an Image"),
|
227 |
+
outputs=[gr.Image(label="Detected Image"),
|
228 |
+
gr.Label(label="Shape"),
|
229 |
# gr.outputs.Image(label="Removed Background Image"),
|
230 |
+
gr.Label(label="Color"),
|
231 |
+
gr.Label(label="Signs")
|
232 |
],
|
233 |
title="Bangladeshi Traffic Sign, Detection, Shape-Color Recognition & Classification",
|
234 |
examples=['examples/1.jpg','./examples/2.jpg', './examples/4.jpg'],
|