Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def _return_yt_html_embed(yt_url):
|
|
| 51 |
|
| 52 |
|
| 53 |
def yt_transcribe(yt_url, task):
|
| 54 |
-
yt = pt.YouTube(yt_url
|
| 55 |
html_embed_str = _return_yt_html_embed(yt_url)
|
| 56 |
stream = yt.streams.filter(only_audio=True)[0]
|
| 57 |
stream.download(filename="audio.mp3")
|
|
|
|
| 51 |
|
| 52 |
|
| 53 |
def yt_transcribe(yt_url, task):
|
| 54 |
+
yt = pt.YouTube(yt_url)
|
| 55 |
html_embed_str = _return_yt_html_embed(yt_url)
|
| 56 |
stream = yt.streams.filter(only_audio=True)[0]
|
| 57 |
stream.download(filename="audio.mp3")
|