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