Spaces:
Runtime error
Runtime error
Commit
·
a70cc2a
1
Parent(s):
11d953b
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def main_generator(youtube_id:str):
|
|
16 |
else:
|
17 |
YouTubeID ='xOZM-1p-jAk'
|
18 |
|
19 |
-
OutputFile = 'test_audio_youtube_.m4a'
|
20 |
|
21 |
os.system(f"youtube-dl -o {OutputFile} {YouTubeID} --extract-audio --restrict-filenames -f 'bestaudio[ext=m4a]'")
|
22 |
|
|
|
16 |
else:
|
17 |
YouTubeID ='xOZM-1p-jAk'
|
18 |
|
19 |
+
OutputFile = f'test_audio_youtube_{YouTubeID}.m4a'
|
20 |
|
21 |
os.system(f"youtube-dl -o {OutputFile} {YouTubeID} --extract-audio --restrict-filenames -f 'bestaudio[ext=m4a]'")
|
22 |
|