Spaces:
Runtime error
Runtime error
Khawalidmi
commited on
Commit
•
4ea717c
1
Parent(s):
8899080
app.py
CHANGED
@@ -53,14 +53,11 @@ inputs = [
|
|
53 |
|
54 |
title = "Smartathon Pothole Challenge"
|
55 |
|
56 |
-
examples = [['examples/0011.png', 'yolo/runs/detect/train10/weights/best.pt', 640, 0.25, 0.45], ['examples/0014.png', 'yolo/runs/detect/train10/weights/best.pt', 640, 0.25, 0.45], ['examples/0021.png', 'yolo/runs/detect/train10/weights/best.pt', 640, 0.25, 0.45]]
|
57 |
-
|
58 |
iface = gr.Interface(
|
59 |
fn=yolov8_inference,
|
60 |
inputs=inputs,
|
61 |
outputs="image",
|
62 |
title=title,
|
63 |
-
examples=examples,
|
64 |
theme="default",
|
65 |
)
|
66 |
iface.launch(debug=True)
|
|
|
53 |
|
54 |
title = "Smartathon Pothole Challenge"
|
55 |
|
|
|
|
|
56 |
iface = gr.Interface(
|
57 |
fn=yolov8_inference,
|
58 |
inputs=inputs,
|
59 |
outputs="image",
|
60 |
title=title,
|
|
|
61 |
theme="default",
|
62 |
)
|
63 |
iface.launch(debug=True)
|