Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -102,19 +102,23 @@ with gr.Blocks() as iface:
|
|
102 |
gr.Markdown("This project provides an advanced AI system designed for diagnosing and profiling personality attributes from video content based on a single speaker or multiple speakers in a conversation.")
|
103 |
|
104 |
with gr.Row():
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
gr.
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
|
|
|
|
|
|
|
|
118 |
|
119 |
# Create output components
|
120 |
output_components = []
|
|
|
102 |
gr.Markdown("This project provides an advanced AI system designed for diagnosing and profiling personality attributes from video content based on a single speaker or multiple speakers in a conversation.")
|
103 |
|
104 |
with gr.Row():
|
105 |
+
video_input = gr.Video(label="Upload Video")
|
106 |
+
|
107 |
+
analyze_button = gr.Button("Analyze")
|
108 |
+
|
109 |
+
gr.Markdown("### Example Videos")
|
110 |
+
with gr.Row():
|
111 |
+
with gr.Column(scale=1):
|
112 |
+
example_video_1 = gr.Video("examples/Scenes.From.A.Marriage.US.mp4", label="Example 1")
|
113 |
+
use_example_button_1 = gr.Button("Load Example 1")
|
114 |
+
|
115 |
+
with gr.Column(scale=1):
|
116 |
+
example_video_2 = gr.Video("examples/Billie Eilish.mp4", label="Example 2")
|
117 |
+
use_example_button_2 = gr.Button("Load Example 2")
|
118 |
+
|
119 |
+
with gr.Column(scale=1):
|
120 |
+
example_video_3 = gr.Video("examples/Elliot Rodger.mp4", label="Example 3")
|
121 |
+
use_example_button_3 = gr.Button("Load Example 3")
|
122 |
|
123 |
# Create output components
|
124 |
output_components = []
|