reab5555 commited on
Commit
02f425e
·
verified ·
1 Parent(s): 8b78d8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -85,6 +85,13 @@ with gr.Blocks() as iface:
85
  mse_posture_heatmap = gr.Plot(label="MSE Heatmap: Body Posture")
86
  anomaly_frames_posture = gr.Gallery(label="Anomaly Frames (Body Posture)", columns=6, rows=2, height="auto")
87
 
 
 
 
 
 
 
 
88
  df_store = gr.State()
89
  mse_features_store = gr.State()
90
  mse_posture_store = gr.State()
@@ -102,6 +109,7 @@ with gr.Blocks() as iface:
102
  mse_features_plot, mse_posture_plot,
103
  mse_features_hist, mse_posture_hist,
104
  mse_features_heatmap, mse_posture_heatmap,
 
105
  anomaly_frames_features, anomaly_frames_posture,
106
  face_samples_most_frequent,
107
  aligned_faces_folder_store, frames_folder_store,
 
85
  mse_posture_heatmap = gr.Plot(label="MSE Heatmap: Body Posture")
86
  anomaly_frames_posture = gr.Gallery(label="Anomaly Frames (Body Posture)", columns=6, rows=2, height="auto")
87
 
88
+ with gr.Tab("Voice"):
89
+ mse_voice_plot = gr.Plot(label="MSE: Voice")
90
+ mse_voice_hist = gr.Plot(label="MSE Distribution: Voice")
91
+ mse_voice_heatmap = gr.Plot(label="MSE Heatmap: Voice")
92
+ anomaly_segments_voice = gr.Audio(label="Anomaly Voice Segments", type="filepath")
93
+
94
+
95
  df_store = gr.State()
96
  mse_features_store = gr.State()
97
  mse_posture_store = gr.State()
 
109
  mse_features_plot, mse_posture_plot,
110
  mse_features_hist, mse_posture_hist,
111
  mse_features_heatmap, mse_posture_heatmap,
112
+ mse_voice_plot, mse_voice_hist, mse_voice_heatmap, anomaly_segments_voice,
113
  anomaly_frames_features, anomaly_frames_posture,
114
  face_samples_most_frequent,
115
  aligned_faces_folder_store, frames_folder_store,