Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,8 @@ def transcribe_from_youtube(url):
|
|
42 |
return transcription
|
43 |
|
44 |
def populate_metadata(url):
|
45 |
-
|
|
|
46 |
|
47 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
48 |
gr.HTML(
|
|
|
42 |
return transcription
|
43 |
|
44 |
def populate_metadata(url):
|
45 |
+
yt = YouTube(url)
|
46 |
+
return yt.thumbnail_url, yt.title
|
47 |
|
48 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
49 |
gr.HTML(
|