Spaces:
Sleeping
Sleeping
Update analyzer/process_video.py
Browse files
analyzer/process_video.py
CHANGED
|
@@ -111,7 +111,7 @@ def analyze_video(video_path, video_id, user_id):
|
|
| 111 |
plt.tight_layout()
|
| 112 |
|
| 113 |
# Save figure to /tmp/results/{user_id}/
|
| 114 |
-
output_folder =
|
| 115 |
os.makedirs(output_folder, exist_ok=True)
|
| 116 |
|
| 117 |
output_file = os.path.join(output_folder, f"{video_id}_popup_analysis.png")
|
|
|
|
| 111 |
plt.tight_layout()
|
| 112 |
|
| 113 |
# Save figure to /tmp/results/{user_id}/
|
| 114 |
+
output_folder = '/tmp/results'
|
| 115 |
os.makedirs(output_folder, exist_ok=True)
|
| 116 |
|
| 117 |
output_file = os.path.join(output_folder, f"{video_id}_popup_analysis.png")
|