Spaces:
Runtime error
Runtime error
Commit
•
f788edd
1
Parent(s):
5afa2d8
Update app.py
Browse files
app.py
CHANGED
@@ -162,6 +162,6 @@ output = gr.Image(type="pil")
|
|
162 |
|
163 |
examples=[["Examples/Image1.jpg","Image1"],["Examples/Image2.jpg","Image2"]]
|
164 |
|
165 |
-
io=gr.Interface(fn=Custom_detect, inputs=[inp,inp2], outputs=output, title='Port Structure Detection With Custom YOLOv7',examples=examples,cache_examples=False)
|
166 |
io.launch()
|
167 |
|
|
|
162 |
|
163 |
examples=[["Examples/Image1.jpg","Image1"],["Examples/Image2.jpg","Image2"]]
|
164 |
|
165 |
+
io=gr.Interface(fn=Custom_detect, inputs=[inp,inp2], outputs=output, title='Port Structure Detection With Custom YOLOv7',description="classes: container, crane, forklift, person, ship, stacker, truck",examples=examples,cache_examples=False)
|
166 |
io.launch()
|
167 |
|