Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def fetch(url, name, audio_only):
|
|
| 9 |
else:
|
| 10 |
opts = f'-o "{filename}"'
|
| 11 |
|
| 12 |
-
os.system(f'yt-dlp
|
| 13 |
return filename if os.path.exists(filename) else "Download failed."
|
| 14 |
|
| 15 |
with gr.Blocks() as demo:
|
|
|
|
| 9 |
else:
|
| 10 |
opts = f'-o "{filename}"'
|
| 11 |
|
| 12 |
+
os.system(f'yt-dlp {opts} "{url}"')
|
| 13 |
return filename if os.path.exists(filename) else "Download failed."
|
| 14 |
|
| 15 |
with gr.Blocks() as demo:
|