Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ yt_video_dir = "./yt_dir"
|
|
25 |
os.makedirs(yt_video_dir, exist_ok=True)
|
26 |
|
27 |
|
28 |
-
def get_audio_from_yt_video_input(yt_link: str)
|
29 |
try:
|
30 |
yt = pt.YouTube(yt_link)
|
31 |
t = yt.streams.filter(only_audio=True)
|
@@ -37,7 +37,7 @@ def get_audio_from_yt_video_input(yt_link: str)
|
|
37 |
|
38 |
return filename, filename
|
39 |
|
40 |
-
def get_audio_from_yt_video_ref(yt_link: str)
|
41 |
try:
|
42 |
yt = pt.YouTube(yt_link)
|
43 |
t = yt.streams.filter(only_audio=True)
|
|
|
25 |
os.makedirs(yt_video_dir, exist_ok=True)
|
26 |
|
27 |
|
28 |
+
def get_audio_from_yt_video_input(yt_link: str):
|
29 |
try:
|
30 |
yt = pt.YouTube(yt_link)
|
31 |
t = yt.streams.filter(only_audio=True)
|
|
|
37 |
|
38 |
return filename, filename
|
39 |
|
40 |
+
def get_audio_from_yt_video_ref(yt_link: str):
|
41 |
try:
|
42 |
yt = pt.YouTube(yt_link)
|
43 |
t = yt.streams.filter(only_audio=True)
|