Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ inp = gr.Image(type="pil")
|
|
164 |
inp2= gr.Dropdown(choices=['Instance-Segmentation','Custom-Detection'])
|
165 |
output = gr.Image(type="pil")
|
166 |
|
167 |
-
examples=[["Examples/Image1.jpg"],["Examples/Image14.jpg"],["Examples/Image32.jpg"]]
|
168 |
|
169 |
io=gr.Interface(fn=Custom_detect, inputs=[inp,inp2], outputs=output, title='Vehicle Detection With Custom YOLOv7',examples=examples)
|
170 |
io.launch()
|
|
|
164 |
inp2= gr.Dropdown(choices=['Instance-Segmentation','Custom-Detection'])
|
165 |
output = gr.Image(type="pil")
|
166 |
|
167 |
+
examples=[["Examples/Image1.jpg","Image1"],["Examples/Image14.jpg","Image14"],["Examples/Image32.jpg","Image32"]]
|
168 |
|
169 |
io=gr.Interface(fn=Custom_detect, inputs=[inp,inp2], outputs=output, title='Vehicle Detection With Custom YOLOv7',examples=examples)
|
170 |
io.launch()
|