Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def analyze_video(video_path):
|
|
9 |
output_path = os.path.join(temp_dir, "output.mp4")
|
10 |
|
11 |
# Call your fight and object detection functions
|
12 |
-
fight_result =
|
13 |
crime_result, annotated_video_path = Crime(video_path)
|
14 |
|
15 |
return {
|
|
|
9 |
output_path = os.path.join(temp_dir, "output.mp4")
|
10 |
|
11 |
# Call your fight and object detection functions
|
12 |
+
fight_result = fight_detction(video_path)
|
13 |
crime_result, annotated_video_path = Crime(video_path)
|
14 |
|
15 |
return {
|