reab5555 commited on
Commit
42bd47f
·
verified ·
1 Parent(s): 79a3688

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -34,11 +34,9 @@ def process_and_show_completion(video_input_path, anomaly_threshold_input, fps,
34
 
35
  # Convert timecodes to seconds for plotting
36
  df['Timecode_Seconds'] = df['Timecode'].apply(lambda x: sum(float(t) * 60 ** i for i, t in enumerate(reversed(x.split(':')))))
37
- # Combine MSE values (you might want to adjust this based on your specific needs)
38
- df['MSE_Combined'] = (df['MSE_Embeddings'] + df['MSE_Posture']) / 2
39
 
40
- kde_plot = create_kdeplot(df)
41
- joint_plot = create_jointplot(df)
42
 
43
  output = [
44
  exec_time, results_summary,
 
34
 
35
  # Convert timecodes to seconds for plotting
36
  df['Timecode_Seconds'] = df['Timecode'].apply(lambda x: sum(float(t) * 60 ** i for i, t in enumerate(reversed(x.split(':')))))
 
 
37
 
38
+ kde_plot = create_kdeplot(df, mse_embeddings, mse_posture)
39
+ joint_plot = create_jointplot(df, mse_embeddings, mse_posture)
40
 
41
  output = [
42
  exec_time, results_summary,