Spaces:
Build error
Build error
BilalSardar
commited on
Commit
•
4d0a6b9
1
Parent(s):
bb82d38
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ except:
|
|
66 |
|
67 |
def UrlToAudio(VideoUrl):
|
68 |
url=VideoUrl
|
69 |
-
os.system("
|
70 |
# load audio and pad/trim it to fit 30 seconds
|
71 |
base_path = Path(r"")
|
72 |
for wav_file_path in base_path.glob("*.wav"):
|
|
|
66 |
|
67 |
def UrlToAudio(VideoUrl):
|
68 |
url=VideoUrl
|
69 |
+
os.system("yt-dlp -x --audio-format wav " + url)
|
70 |
# load audio and pad/trim it to fit 30 seconds
|
71 |
base_path = Path(r"")
|
72 |
for wav_file_path in base_path.glob("*.wav"):
|