reab5555 commited on
Commit
e965279
·
verified ·
1 Parent(s): 74693a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ def process_and_show_completion(video_input_path, anomaly_threshold_input, fps,
52
  print(error_message)
53
  import traceback
54
  traceback.print_exc()
55
- return [error_message] + [None] * 23 # Increased number of None values
56
 
57
  with gr.Blocks() as iface:
58
  gr.Markdown("""
@@ -118,7 +118,7 @@ with gr.Blocks() as iface:
118
  face_samples_most_frequent,
119
  aligned_faces_folder_store, frames_folder_store,
120
  mse_heatmap_embeddings_store, mse_heatmap_posture_store, mse_heatmap_voice_store,
121
- heatmap_video
122
  ]
123
  ).then(
124
  lambda: gr.Group(visible=True),
 
52
  print(error_message)
53
  import traceback
54
  traceback.print_exc()
55
+ return [error_message] + [None] * 23
56
 
57
  with gr.Blocks() as iface:
58
  gr.Markdown("""
 
118
  face_samples_most_frequent,
119
  aligned_faces_folder_store, frames_folder_store,
120
  mse_heatmap_embeddings_store, mse_heatmap_posture_store, mse_heatmap_voice_store,
121
+ heatmap_video_path
122
  ]
123
  ).then(
124
  lambda: gr.Group(visible=True),