Sa-m commited on
Commit
7279597
·
1 Parent(s): 75ac8af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -160,6 +160,6 @@ output = gr.Image(type="pil")
160
 
161
  examples=[["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg",'Image1']]
162
 
163
- io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ', examples=examples)
164
  io.launch()
165
 
 
160
 
161
  examples=[["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg",'Image1']]
162
 
163
+ io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ', examples=examples,api_mode=True)
164
  io.launch()
165