Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -156,10 +156,10 @@ inp = gr.Image(type="pil")
|
|
156 |
#output=gr.outputs.Image(type="pil", label="Output Image")
|
157 |
output = gr.Image(type="pil")
|
158 |
#gr.outputs.Image(type="filepath", label="Output")
|
159 |
-
#.outputs.Textbox()
|
160 |
|
161 |
examples=[["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg",'Image1']]
|
162 |
|
163 |
-
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ', examples=examples
|
164 |
-
io.
|
165 |
|
|
|
156 |
#output=gr.outputs.Image(type="pil", label="Output Image")
|
157 |
output = gr.Image(type="pil")
|
158 |
#gr.outputs.Image(type="filepath", label="Output")
|
159 |
+
#.outputs.Textbox() ,api_mode=True
|
160 |
|
161 |
examples=[["Examples/img-300_jpg.rf.6b7b035dff1cda092ce3dc22be8d0135.jpg",'Image1']]
|
162 |
|
163 |
+
io=gr.Interface(fn=Custom_detect, inputs=inp, outputs=output, title='Pot Hole Detection With Custom YOLOv7 ', examples=examples)
|
164 |
+
io.load()
|
165 |
|