Hussein El-Hadidy commited on
Commit ·
7c3ace9
1
Parent(s): b3607bf
CPR Model Added
Browse files- app.py +1 -1
- main.py +1 -1
- yolo11n-pose_float16.tflite +3 -0
app.py
CHANGED
|
@@ -185,7 +185,7 @@ async def process_video(file: UploadFile = File(...)):
|
|
| 185 |
with open(video_path, "wb") as buffer:
|
| 186 |
shutil.copyfileobj(file.file, buffer)
|
| 187 |
|
| 188 |
-
model = YOLO(
|
| 189 |
|
| 190 |
print("Model loaded successfully")
|
| 191 |
|
|
|
|
| 185 |
with open(video_path, "wb") as buffer:
|
| 186 |
shutil.copyfileobj(file.file, buffer)
|
| 187 |
|
| 188 |
+
model = YOLO("yolo11n-pose_float16.tflite") # fixed variable name
|
| 189 |
|
| 190 |
print("Model loaded successfully")
|
| 191 |
|
main.py
CHANGED
|
@@ -185,7 +185,7 @@ async def process_video(file: UploadFile = File(...)):
|
|
| 185 |
with open(video_path, "wb") as buffer:
|
| 186 |
shutil.copyfileobj(file.file, buffer)
|
| 187 |
|
| 188 |
-
model = YOLO(
|
| 189 |
|
| 190 |
print("Model loaded successfully")
|
| 191 |
|
|
|
|
| 185 |
with open(video_path, "wb") as buffer:
|
| 186 |
shutil.copyfileobj(file.file, buffer)
|
| 187 |
|
| 188 |
+
model = YOLO("yolo11n-pose_float16.tflite") # fixed variable name
|
| 189 |
|
| 190 |
print("Model loaded successfully")
|
| 191 |
|
yolo11n-pose_float16.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5175bbd5080cf332a61ab39f5b8396693d14d5ee649ee1ba2670811355ccfce
|
| 3 |
+
size 6069875
|