Sa-m commited on
Commit
4765ec5
1 Parent(s): 6eaf9f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -3,6 +3,13 @@ import os
3
 
4
  os.system('git clone https://github.com/WongKinYiu/yolov7.git')
5
 
 
 
6
 
 
 
7
 
8
 
 
 
 
 
3
 
4
  os.system('git clone https://github.com/WongKinYiu/yolov7.git')
5
 
6
+ def detect(inp):
7
+ return inp
8
 
9
+ inp = gr.inputs.Image(type="pil", label="Original Image")
10
+ output = gr.outputs.Image(type="pil", label="Output Image")
11
 
12
 
13
+ io=gr.Interface(fn=detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ',)
14
+ io.launch(debug=True,share=False)
15
+