Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -155,8 +155,8 @@ def Custom_detect(img):
|
|
155 |
inp = gr.Image(type="pil")
|
156 |
output = gr.Image(type="pil")
|
157 |
|
158 |
-
examples=[
|
159 |
|
160 |
-
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='
|
161 |
io.launch()
|
162 |
|
|
|
155 |
inp = gr.Image(type="pil")
|
156 |
output = gr.Image(type="pil")
|
157 |
|
158 |
+
examples=["Examples/Image1.jpg","Examples/Image14.jpg","Examples/Image32.jpg"]
|
159 |
|
160 |
+
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Vehicle Detection With Custom YOLOv7',examples=examples,cache_examples=False)
|
161 |
io.launch()
|
162 |
|