Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,9 @@ inp = gr.inputs.Image(type="filepath", label="Input")
|
|
| 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 ',
|
|
|
|
|
|
|
| 27 |
#,examples=["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg"]
|
| 28 |
io.launch(debug=True,share=False)
|
| 29 |
|
|
|
|
| 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 ',
|
| 27 |
+
#examples=[["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg"]]
|
| 28 |
+
)
|
| 29 |
#,examples=["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg"]
|
| 30 |
io.launch(debug=True,share=False)
|
| 31 |
|