Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from PIL import Image
|
| 3 |
from pathlib import Path
|
|
|
|
| 4 |
|
| 5 |
# Load YOLOv5 model
|
| 6 |
model = YOLO(weights='HandSignDetector.pt') # Replace with the path to your best.pt model
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from PIL import Image
|
| 3 |
from pathlib import Path
|
| 4 |
+
from ultralytics import YOLO
|
| 5 |
|
| 6 |
# Load YOLOv5 model
|
| 7 |
model = YOLO(weights='HandSignDetector.pt') # Replace with the path to your best.pt model
|