Sa-m commited on
Commit
757f55b
1 Parent(s): c4b00f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ def detect(inp):
19
 
20
 
21
  inp = gr.inputs.Image(type="filepath", label="Input")
22
- outputs=gr.outputs.Image(type="pil", label="Output Image")
23
- #output = gr.outputs.Image(type="filepath", label="Output")
24
  #.outputs.Textbox()
25
 
26
  io=gr.Interface(fn=detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ',examples=[["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg"]])
 
19
 
20
 
21
  inp = gr.inputs.Image(type="filepath", label="Input")
22
+ #output=gr.outputs.Image(type="pil", label="Output Image")
23
+ output = gr.outputs.Image(type="filepath", label="Output")
24
  #.outputs.Textbox()
25
 
26
  io=gr.Interface(fn=detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ',examples=[["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg"]])