Sa-m commited on
Commit
208a30d
·
1 Parent(s): 939fd63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -155,8 +155,8 @@ def Custom_detect(img):
155
  inp = gr.Image(type="pil")
156
  output = gr.Image(type="pil")
157
 
158
- examples=[["Examples/Image1.jpg","Image1"],["Examples/Image14.jpg","Image2"],["Examples/Image32.jpg","Image3"]]
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()
162
 
 
155
  inp = gr.Image(type="pil")
156
  output = gr.Image(type="pil")
157
 
158
+ examples=["Examples/Image1.jpg","Examples/Image14.jpg","Examples/Image32.jpg"]
159
 
160
+ io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Vehicle Detection With Custom YOLOv7',examples=examples,cache_examples=False)
161
  io.launch()
162