Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -160,8 +160,8 @@ output = gr.Image(type="pil")
|
|
160 |
#gr.outputs.Image(type="filepath", label="Output")
|
161 |
#.outputs.Textbox() ,api_mode=True
|
162 |
|
163 |
-
examples=[["Examples/Image1.jpg",'Image1'],["Examples/Image2.jpg",'Image2'],["Examples/Image29.jpg",'
|
164 |
|
165 |
-
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7',examples=examples)
|
166 |
io.launch()
|
167 |
|
|
|
160 |
#gr.outputs.Image(type="filepath", label="Output")
|
161 |
#.outputs.Textbox() ,api_mode=True
|
162 |
|
163 |
+
examples=[["Examples/Image1.jpg",'Image1'],["Examples/Image2.jpg",'Image2'],["Examples/Image29.jpg",'Image3']]
|
164 |
|
165 |
+
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7',examples=examples,cache_eamples=False)
|
166 |
io.launch()
|
167 |
|