Spaces:
Runtime error
Runtime error
Commit
·
b4a8eca
1
Parent(s):
4a20ca6
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ with block as demo:
|
|
93 |
label = gr.Label(label="Sentiment Analysis")
|
94 |
with gr.Row().style(equal_height=True):
|
95 |
clear = gr.ClearButton([link, title, img, text, summary, keywords, label])
|
96 |
-
btn = gr.Button("Get video insights") # Updated button label
|
97 |
btn.click(gio, inputs=[link, lang, size], outputs=[text, summary, keywords, label])
|
98 |
link.change(gio.populate_metadata, inputs=[link], outputs=[img, title])
|
99 |
|
@@ -111,7 +111,7 @@ with block as demo:
|
|
111 |
# keywords = gr.Textbox(label="Keywords", placeholder="Keywords Output", lines=5)
|
112 |
with gr.Row().style(equal_height=True):
|
113 |
clear = gr.ClearButton([text])
|
114 |
-
btn = gr.Button("Get video insights") # Updated button label
|
115 |
btn.click(transcribe_audio, inputs=[audio_file], outputs=[text])
|
116 |
# link.change(gio.populate_metadata, inputs=[link], outputs=[img, title])
|
117 |
|
|
|
93 |
label = gr.Label(label="Sentiment Analysis")
|
94 |
with gr.Row().style(equal_height=True):
|
95 |
clear = gr.ClearButton([link, title, img, text, summary, keywords, label])
|
96 |
+
btn = gr.Button("Get video insights", variant='primary') # Updated button label
|
97 |
btn.click(gio, inputs=[link, lang, size], outputs=[text, summary, keywords, label])
|
98 |
link.change(gio.populate_metadata, inputs=[link], outputs=[img, title])
|
99 |
|
|
|
111 |
# keywords = gr.Textbox(label="Keywords", placeholder="Keywords Output", lines=5)
|
112 |
with gr.Row().style(equal_height=True):
|
113 |
clear = gr.ClearButton([text])
|
114 |
+
btn = gr.Button("Get video insights", variant='primary') # Updated button label
|
115 |
btn.click(transcribe_audio, inputs=[audio_file], outputs=[text])
|
116 |
# link.change(gio.populate_metadata, inputs=[link], outputs=[img, title])
|
117 |
|