reab5555 commited on
Commit
5daec0b
·
verified ·
1 Parent(s): 2b61cb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -13
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
- with gr.Row():
106
- video_input = gr.Video(label="Upload Video")
107
- analyze_button = gr.Button("Analyze")
108
- with gr.Row():
109
- gr.Markdown("Example Video 1")
110
- example_video_1 = gr.Video("examples/Scenes.From.A.Marriage.US.mp4", label="Example Video 1")
111
- use_example_button_1 = gr.Button("Load Example")
112
- gr.Markdown("Example Video 2")
113
- example_video_2 = gr.Video("examples/Billie Eilish.mp4", label="Example Video 2")
114
- use_example_button_2 = gr.Button("Load Example")
115
- gr.Markdown("Example Video 3")
116
- example_video_3 = gr.Video("examples/Elliot Rodger.mp4", label="Example Video 3")
117
- use_example_button_3 = gr.Button("Load Example")
 
 
 
 
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 = []