reab5555 commited on
Commit
d2bb929
·
verified ·
1 Parent(s): 4855721

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -45,12 +45,12 @@ def analyze_video(video_path, progress=gr.Progress()):
45
  output_components.extend([
46
  f"## {speaker_id}", # speaker header
47
  speaker_general_impression, # speaker impression
48
- speaker_charts["attachment"], # attachment plot
49
  speaker_explanations["attachment"], # attachment explanation
50
- speaker_charts["dimensions"], # dimensions plot
51
- speaker_charts["bigfive"], # bigfive plot
52
  speaker_explanations["bigfive"], # bigfive explanation
53
- speaker_charts["personality"], # personality plot
54
  speaker_explanations["personality"], # personality explanation
55
  ])
56
 
 
45
  output_components.extend([
46
  f"## {speaker_id}", # speaker header
47
  speaker_general_impression, # speaker impression
48
+ speaker_charts["attachment"], # directly pass the Plotly figure
49
  speaker_explanations["attachment"], # attachment explanation
50
+ speaker_charts["dimensions"], # directly pass the Plotly figure
51
+ speaker_charts["bigfive"], # directly pass the Plotly figure
52
  speaker_explanations["bigfive"], # bigfive explanation
53
+ speaker_charts["personality"], # directly pass the Plotly figure
54
  speaker_explanations["personality"], # personality explanation
55
  ])
56