Sa-m commited on
Commit
1d07b60
·
1 Parent(s): 876d201

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -158,8 +158,8 @@ output = gr.Image(type="pil")
158
  #gr.outputs.Image(type="filepath", label="Output")
159
  #.outputs.Textbox() ,api_mode=True
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.load()
165
 
 
158
  #gr.outputs.Image(type="filepath", label="Output")
159
  #.outputs.Textbox() ,api_mode=True
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 ')
164
+ io.launch()
165