reab5555 commited on
Commit
0377381
·
verified ·
1 Parent(s): d231748

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ def process_and_show_completion(video_input_path, anomaly_threshold_input, fps,
15
 
16
  if isinstance(results[0], str) and results[0].startswith("Error"):
17
  print(f"Error occurred: {results[0]}")
18
- return [results[0]] + [None] * 25 # Update the tuple size to match the number of outputs
19
 
20
  exec_time, results_summary, df, mse_embeddings, mse_posture, mse_voice, \
21
  mse_plot_embeddings, mse_plot_posture, mse_plot_voice, \
@@ -124,7 +124,7 @@ with gr.Blocks() as iface:
124
  face_samples_most_frequent,
125
  aligned_faces_folder_store, frames_folder_store,
126
  mse_heatmap_embeddings_store, mse_heatmap_posture_store, mse_heatmap_voice_store,
127
- heatmap_video, correlation_heatmap_plot, scatter_plot_3d_plot # Add these plots to the outputs
128
  ]
129
  ).then(
130
  show_results,
 
15
 
16
  if isinstance(results[0], str) and results[0].startswith("Error"):
17
  print(f"Error occurred: {results[0]}")
18
+ return [results[0]] + [None] * 25
19
 
20
  exec_time, results_summary, df, mse_embeddings, mse_posture, mse_voice, \
21
  mse_plot_embeddings, mse_plot_posture, mse_plot_voice, \
 
124
  face_samples_most_frequent,
125
  aligned_faces_folder_store, frames_folder_store,
126
  mse_heatmap_embeddings_store, mse_heatmap_posture_store, mse_heatmap_voice_store,
127
+ heatmap_video, correlation_heatmap_plot, scatter_plot_3d_plot
128
  ]
129
  ).then(
130
  show_results,