Upload 3 files
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from ultralytics import YOLO
|
|
6 |
import os
|
7 |
|
8 |
# Model Initialization
|
9 |
-
model = YOLO('/
|
10 |
|
11 |
# Function to detect actions in images
|
12 |
def detect_action(image_path):
|
|
|
6 |
import os
|
7 |
|
8 |
# Model Initialization
|
9 |
+
model = YOLO('/C:\Users\SRUTHI\Desktop\python-app/yolo11l.pt') # Adjust the path to your YOLOv11 model
|
10 |
|
11 |
# Function to detect actions in images
|
12 |
def detect_action(image_path):
|