Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def analyze_video(video_path):
|
|
| 10 |
|
| 11 |
# Call your fight and object detection functions
|
| 12 |
fight_result = fight_detec(video_path)
|
| 13 |
-
crime_result, annotated_video_path =
|
| 14 |
|
| 15 |
return {
|
| 16 |
"Fight": fight_result,
|
|
|
|
| 10 |
|
| 11 |
# Call your fight and object detection functions
|
| 12 |
fight_result = fight_detec(video_path)
|
| 13 |
+
crime_result, annotated_video_path = detect_objects_in_video(video_path)
|
| 14 |
|
| 15 |
return {
|
| 16 |
"Fight": fight_result,
|