Spaces:
Runtime error
Runtime error
Commit
·
134aa14
1
Parent(s):
3299970
Update app.py
Browse files
app.py
CHANGED
|
@@ -219,7 +219,8 @@ with block as demo:
|
|
| 219 |
inputs=[link, lang, size],
|
| 220 |
outputs=[text, summary, keywords, label, wordcloud_image],
|
| 221 |
)
|
| 222 |
-
|
|
|
|
| 223 |
|
| 224 |
with gr.Tab("From Audio file"):
|
| 225 |
with gr.Box():
|
|
|
|
| 219 |
inputs=[link, lang, size],
|
| 220 |
outputs=[text, summary, keywords, label, wordcloud_image],
|
| 221 |
)
|
| 222 |
+
if link:
|
| 223 |
+
link.change(gio.populate_metadata, inputs=[link], outputs=[img, title])
|
| 224 |
|
| 225 |
with gr.Tab("From Audio file"):
|
| 226 |
with gr.Box():
|