Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from PIL import Image
|
|
| 4 |
import tempfile
|
| 5 |
import os
|
| 6 |
|
| 7 |
-
model = YOLO('
|
| 8 |
|
| 9 |
st.title("YOLO Object Detection with Streamlit")
|
| 10 |
st.write("Upload an image and see object detection results in real-time!")
|
|
|
|
| 4 |
import tempfile
|
| 5 |
import os
|
| 6 |
|
| 7 |
+
model = YOLO('yolov8n.pt') # or 'yolov10s.pt'
|
| 8 |
|
| 9 |
st.title("YOLO Object Detection with Streamlit")
|
| 10 |
st.write("Upload an image and see object detection results in real-time!")
|