reab5555 commited on
Commit
8911f9f
·
verified ·
1 Parent(s): 7a7ae86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -33,6 +33,8 @@ def analyze_video(video_path, progress=gr.Progress()):
33
  output_components = [transcription] # transcript
34
 
35
  for i, (speaker_id, speaker_charts) in enumerate(charts.items(), start=1):
 
 
36
  speaker_explanations = explanations[speaker_id]
37
  speaker_general_impression = general_impressions[speaker_id]
38
 
@@ -57,7 +59,7 @@ def analyze_video(video_path, progress=gr.Progress()):
57
  # Pad with None for any missing speakers
58
  while len(output_components) < 28:
59
  output_components.extend([gr.update(visible=False)] * 9)
60
-
61
  output_components.append(f"Completed in {int(execution_time)} seconds.") # execution info
62
 
63
  return output_components
 
33
  output_components = [transcription] # transcript
34
 
35
  for i, (speaker_id, speaker_charts) in enumerate(charts.items(), start=1):
36
+ print(speaker_id)
37
+ print(speaker_charts)
38
  speaker_explanations = explanations[speaker_id]
39
  speaker_general_impression = general_impressions[speaker_id]
40
 
 
59
  # Pad with None for any missing speakers
60
  while len(output_components) < 28:
61
  output_components.extend([gr.update(visible=False)] * 9)
62
+
63
  output_components.append(f"Completed in {int(execution_time)} seconds.") # execution info
64
 
65
  return output_components