Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,20 +51,17 @@ def analyze_video(video_path, progress=gr.Progress()):
|
|
51 |
gr.Plot(value=speaker_charts.get("attachment", None), visible=True),
|
52 |
gr.Plot(value=speaker_charts.get("dimensions", None), visible=True)])
|
53 |
speaker_section2_2 = [
|
54 |
-
gr.Textbox(value=speaker_explanations.get("attachment", ""), label="Attachment Styles Explanation"
|
55 |
-
visible=True)]
|
56 |
|
57 |
with gr.TabItem(label=f'Big Five Traits'):
|
58 |
speaker_section3 = [
|
59 |
gr.Plot(value=speaker_charts.get("bigfive", None), visible=True),
|
60 |
-
gr.Textbox(value=speaker_explanations.get("bigfive", ""), label="Big Five Traits Explanation"
|
61 |
-
visible=True)]
|
62 |
|
63 |
with gr.TabItem(label=f'Personalities'):
|
64 |
speaker_section4 = [
|
65 |
gr.Plot(value=speaker_charts.get("personality", None), visible=True),
|
66 |
-
gr.Textbox(value=speaker_explanations.get("personality", ""), label="Personality Disorders Explanation,
|
67 |
-
visible=True)]
|
68 |
|
69 |
|
70 |
output_components.extend(speaker_section1)
|
|
|
51 |
gr.Plot(value=speaker_charts.get("attachment", None), visible=True),
|
52 |
gr.Plot(value=speaker_charts.get("dimensions", None), visible=True)])
|
53 |
speaker_section2_2 = [
|
54 |
+
gr.Textbox(value=speaker_explanations.get("attachment", ""), label="Attachment Styles Explanation", visible=True)]
|
|
|
55 |
|
56 |
with gr.TabItem(label=f'Big Five Traits'):
|
57 |
speaker_section3 = [
|
58 |
gr.Plot(value=speaker_charts.get("bigfive", None), visible=True),
|
59 |
+
gr.Textbox(value=speaker_explanations.get("bigfive", ""), label="Big Five Traits Explanation", visible=True)]
|
|
|
60 |
|
61 |
with gr.TabItem(label=f'Personalities'):
|
62 |
speaker_section4 = [
|
63 |
gr.Plot(value=speaker_charts.get("personality", None), visible=True),
|
64 |
+
gr.Textbox(value=speaker_explanations.get("personality", ""), label="Personality Disorders Explanation", visible=True)]
|
|
|
65 |
|
66 |
|
67 |
output_components.extend(speaker_section1)
|