Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from ultralytics import YOLO
|
3 |
import cv2
|
4 |
import numpy as np
|
|
|
5 |
|
6 |
# Load the trained model
|
7 |
model_path = 'best.pt' # Replace with the path to your trained .pt file
|
|
|
2 |
from ultralytics import YOLO
|
3 |
import cv2
|
4 |
import numpy as np
|
5 |
+
import spaces
|
6 |
|
7 |
# Load the trained model
|
8 |
model_path = 'best.pt' # Replace with the path to your trained .pt file
|