Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
16 |
-
|
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)
|