Spaces:
Runtime error
Runtime error
Update video_processing.py
Browse files- video_processing.py +1 -2
video_processing.py
CHANGED
|
@@ -201,8 +201,7 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
|
|
| 201 |
|
| 202 |
correlation_heatmap = plot_correlation_heatmap(mse_embeddings, mse_posture, mse_voice)
|
| 203 |
|
| 204 |
-
|
| 205 |
-
progress(0.95, "Finishing generating graphs")
|
| 206 |
|
| 207 |
except Exception as e:
|
| 208 |
print(f"Error in create_video_with_heatmap: {str(e)}")
|
|
|
|
| 201 |
|
| 202 |
correlation_heatmap = plot_correlation_heatmap(mse_embeddings, mse_posture, mse_voice)
|
| 203 |
|
| 204 |
+
progress(0.95, "Finishing generating graphs")
|
|
|
|
| 205 |
|
| 206 |
except Exception as e:
|
| 207 |
print(f"Error in create_video_with_heatmap: {str(e)}")
|