Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from pathlib import Path
|
|
| 4 |
from ultralytics import YOLO
|
| 5 |
|
| 6 |
# Load YOLOv5 model
|
| 7 |
-
model = YOLO(
|
| 8 |
|
| 9 |
# Set up Streamlit
|
| 10 |
st.title("YOLOv5 Object Detection with Streamlit")
|
|
|
|
| 4 |
from ultralytics import YOLO
|
| 5 |
|
| 6 |
# Load YOLOv5 model
|
| 7 |
+
model = YOLO('HandSignDetector.pt') # Replace with the path to your best.pt model
|
| 8 |
|
| 9 |
# Set up Streamlit
|
| 10 |
st.title("YOLOv5 Object Detection with Streamlit")
|