Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,10 +99,10 @@ image_interface = gr.Interface(
|
|
| 99 |
#gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold")
|
| 100 |
],
|
| 101 |
outputs=gr.outputs.Image(type="filepath", label="Output Image"),
|
| 102 |
-
title="
|
| 103 |
-
examples=[['image1.jpg', 'Aalaa/Yolov7_Visual_Pollution_Detection', 640, 0.25, 0.45], ['image2.jpg', 'Aalaa/Yolov7_Visual_Pollution_Detection', 640, 0.25, 0.45], ['image3.jpg', 'Aalaa/Yolov7_Visual_Pollution_Detection', 640, 0.25, 0.45]],
|
| 104 |
-
cache_examples=True,
|
| 105 |
-
theme='huggingface',
|
| 106 |
)
|
| 107 |
|
| 108 |
|
|
|
|
| 99 |
#gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.45, step=0.05, label="IOU Threshold")
|
| 100 |
],
|
| 101 |
outputs=gr.outputs.Image(type="filepath", label="Output Image"),
|
| 102 |
+
#title="Visual P",
|
| 103 |
+
#examples=[['image1.jpg', 'Aalaa/Yolov7_Visual_Pollution_Detection', 640, 0.25, 0.45], ['image2.jpg', 'Aalaa/Yolov7_Visual_Pollution_Detection', 640, 0.25, 0.45], ['image3.jpg', 'Aalaa/Yolov7_Visual_Pollution_Detection', 640, 0.25, 0.45]],
|
| 104 |
+
#cache_examples=True,
|
| 105 |
+
#theme='huggingface',
|
| 106 |
)
|
| 107 |
|
| 108 |
|