Spaces:
Runtime error
Runtime error
Yohan Runhaar
commited on
Commit
Β·
45d03df
1
Parent(s):
c27b4ef
fix issue non existing
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ from ultralytics import YOLO
|
|
7 |
# Coral AI model files hosted in the Hugging Face model repository
|
8 |
model_names = [
|
9 |
"yolov8_xlarge_latest.pt",
|
10 |
-
"yolov8_xlarge_v1.pt",
|
11 |
-
"yolov8_xlarge_v2.pt",
|
12 |
]
|
13 |
|
14 |
# Set the initial model
|
@@ -98,9 +98,9 @@ outputs = [
|
|
98 |
title = "Coral AI YOLOv8 Segmentation Demo"
|
99 |
|
100 |
examples = [
|
101 |
-
["examples/coral_image1.jpg", "yolov8_xlarge_latest.pt"],
|
102 |
-
["examples/coral_image2.jpg", "yolov8_xlarge_latest.pt"],
|
103 |
-
["examples/coral_image3.jpg", "yolov8_xlarge_latest.pt"],
|
104 |
]
|
105 |
|
106 |
# Create and launch the Gradio interface
|
|
|
7 |
# Coral AI model files hosted in the Hugging Face model repository
|
8 |
model_names = [
|
9 |
"yolov8_xlarge_latest.pt",
|
10 |
+
# "yolov8_xlarge_v1.pt",
|
11 |
+
# "yolov8_xlarge_v2.pt",
|
12 |
]
|
13 |
|
14 |
# Set the initial model
|
|
|
98 |
title = "Coral AI YOLOv8 Segmentation Demo"
|
99 |
|
100 |
examples = [
|
101 |
+
# ["examples/coral_image1.jpg", "yolov8_xlarge_latest.pt"],
|
102 |
+
# ["examples/coral_image2.jpg", "yolov8_xlarge_latest.pt"],
|
103 |
+
# ["examples/coral_image3.jpg", "yolov8_xlarge_latest.pt"],
|
104 |
]
|
105 |
|
106 |
# Create and launch the Gradio interface
|