Spaces:
Runtime error
Runtime error
StarAtNyte1
commited on
Commit
·
8e65478
1
Parent(s):
fa199ba
Update app.py
Browse files
app.py
CHANGED
@@ -105,8 +105,7 @@ image_interface = gr.Interface(
|
|
105 |
#gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold")
|
106 |
],
|
107 |
outputs=gr.outputs.Image(type="filepath", label="Output Image"),
|
108 |
-
title="
|
109 |
-
examples=[['image1.jpg', 'alshimaa/SEE_model_yolo7', 640, 0.25, 0.45], ['image2.jpg', 'alshimaa/SEE_model_yolo7', 640, 0.25, 0.45], ['image3.jpg', 'alshimaa/SEE_model_yolo7', 640, 0.25, 0.45]],
|
110 |
cache_examples=True,
|
111 |
theme='huggingface',
|
112 |
)
|
@@ -130,7 +129,7 @@ video_interface = gr.Interface(
|
|
130 |
# ["video.mp4", 0.25, 0.45, 0, 2],
|
131 |
|
132 |
# ],
|
133 |
-
title="
|
134 |
cache_examples=True,
|
135 |
theme='huggingface',
|
136 |
|
|
|
105 |
#gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold")
|
106 |
],
|
107 |
outputs=gr.outputs.Image(type="filepath", label="Output Image"),
|
108 |
+
title="Yolov7 Pollutants Detection",
|
|
|
109 |
cache_examples=True,
|
110 |
theme='huggingface',
|
111 |
)
|
|
|
129 |
# ["video.mp4", 0.25, 0.45, 0, 2],
|
130 |
|
131 |
# ],
|
132 |
+
title="Yolov7 Pollutants Detection",
|
133 |
cache_examples=True,
|
134 |
theme='huggingface',
|
135 |
|