Sa-m commited on
Commit
e743e64
·
1 Parent(s): bc5bdc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg",'Image1']]
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