Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -134,6 +134,7 @@ import gradio as gr
|
|
134 |
import torch
|
135 |
from PIL import Image
|
136 |
import numpy as np
|
|
|
137 |
|
138 |
# Load the YOLO model
|
139 |
MODEL_URL= 'https://huggingface.co/ayoubsa/yolo_model/resolve/main/best.pt'
|
|
|
134 |
import torch
|
135 |
from PIL import Image
|
136 |
import numpy as np
|
137 |
+
from ultralytics import YOLO
|
138 |
|
139 |
# Load the YOLO model
|
140 |
MODEL_URL= 'https://huggingface.co/ayoubsa/yolo_model/resolve/main/best.pt'
|