Spaces:
Sleeping
Sleeping
Update analyzer/process_video.py
Browse files
analyzer/process_video.py
CHANGED
|
@@ -110,7 +110,7 @@ def analyze_video(video_path, video_id, user_id):
|
|
| 110 |
plt.xlabel("Normalized Time (0–150 points)")
|
| 111 |
plt.tight_layout()
|
| 112 |
|
| 113 |
-
output_folder = f"
|
| 114 |
os.makedirs(output_folder, exist_ok=True)
|
| 115 |
|
| 116 |
output_file = os.path.join(output_folder, f"{video_id}_popup_analysis.png")
|
|
|
|
| 110 |
plt.xlabel("Normalized Time (0–150 points)")
|
| 111 |
plt.tight_layout()
|
| 112 |
|
| 113 |
+
output_folder = f"/tmp/results/{user_id}"
|
| 114 |
os.makedirs(output_folder, exist_ok=True)
|
| 115 |
|
| 116 |
output_file = os.path.join(output_folder, f"{video_id}_popup_analysis.png")
|