Sa-m's picture
Update app.py
4765ec5
raw
history blame
386 Bytes
import gradio as gr
import os
os.system('git clone https://github.com/WongKinYiu/yolov7.git')
def detect(inp):
return inp
inp = gr.inputs.Image(type="pil", label="Original Image")
output = gr.outputs.Image(type="pil", label="Output Image")
io=gr.Interface(fn=detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ',)
io.launch(debug=True,share=False)