Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
# Load the YOLO model
|
7 |
#MODEL_URL = 'https://huggingface.co/ayoubsa/yolo_model/resolve/main/best.pt'
|
8 |
MODEL_URL = 'best.pt'
|
9 |
-
model = YOLO(MODEL_URL
|
10 |
|
11 |
# Define the prediction function for Gradio
|
12 |
def predict(image):
|
|
|
6 |
# Load the YOLO model
|
7 |
#MODEL_URL = 'https://huggingface.co/ayoubsa/yolo_model/resolve/main/best.pt'
|
8 |
MODEL_URL = 'best.pt'
|
9 |
+
model = YOLO(MODEL_URL)
|
10 |
|
11 |
# Define the prediction function for Gradio
|
12 |
def predict(image):
|