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 |
-
|
| 164 |
|
| 165 |
-
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7
|
| 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",'Image1']]
|
| 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 |
|