Sa-m commited on
Commit
c9ceede
1 Parent(s): 13f6999

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -12,9 +12,8 @@ def detect(inp):
12
  #f"./yolov7/runs/detect/exp/{otp}"
13
 
14
  inp = gr.inputs.Image(type="filepath", label="Input")
15
- output = gr.outputs.Textbox()
16
- #gr.outputs.Image(type="filepath", label="Output")
17
-
18
 
19
  io=gr.Interface(fn=detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ',)
20
  io.launch(debug=True,share=False)
 
12
  #f"./yolov7/runs/detect/exp/{otp}"
13
 
14
  inp = gr.inputs.Image(type="filepath", label="Input")
15
+ output = gr.outputs.Image(type="filepath", label="Output")
16
+ #.outputs.Textbox()
 
17
 
18
  io=gr.Interface(fn=detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ',)
19
  io.launch(debug=True,share=False)