Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ with gr.Blocks() as iface:
|
|
106 |
|
107 |
with gr.Row():
|
108 |
for i in range(3): # Assuming maximum of 3 speakers
|
109 |
-
with gr.Tab(label=f'Speaker {i}'):
|
110 |
with gr.TabItem(label=f'General Impression'):
|
111 |
column_components1 = [
|
112 |
gr.Markdown(visible=False),
|
@@ -134,8 +134,8 @@ with gr.Blocks() as iface:
|
|
134 |
output_components.extend(column_components4)
|
135 |
|
136 |
# Add execution info component
|
137 |
-
|
138 |
-
|
139 |
|
140 |
analyze_button.click(
|
141 |
fn=analyze_video,
|
|
|
106 |
|
107 |
with gr.Row():
|
108 |
for i in range(3): # Assuming maximum of 3 speakers
|
109 |
+
with gr.Tab(label=f'Speaker {i+1}'):
|
110 |
with gr.TabItem(label=f'General Impression'):
|
111 |
column_components1 = [
|
112 |
gr.Markdown(visible=False),
|
|
|
134 |
output_components.extend(column_components4)
|
135 |
|
136 |
# Add execution info component
|
137 |
+
transcript_output = gr.Textbox(label="Transcript", lines=10, visible=False)
|
138 |
+
output_components.append(transcript_output)
|
139 |
|
140 |
analyze_button.click(
|
141 |
fn=analyze_video,
|