Spaces:
Runtime error
Runtime error
quinnpertuit
commited on
Commit
•
3352253
1
Parent(s):
1b90bc1
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def download_youtube_clip(
|
|
113 |
quiet = "--quiet --no-warnings" if quiet else ""
|
114 |
command = f"""
|
115 |
yt-dlp {quiet} -x --audio-format wav -f bestaudio -o "{output_filename}" --download-sections "*{start_time}-{end_time}" "{url_base}{video_identifier}" # noqa: E501
|
116 |
-
""
|
117 |
|
118 |
attempts = 0
|
119 |
while True:
|
|
|
113 |
quiet = "--quiet --no-warnings" if quiet else ""
|
114 |
command = f"""
|
115 |
yt-dlp {quiet} -x --audio-format wav -f bestaudio -o "{output_filename}" --download-sections "*{start_time}-{end_time}" "{url_base}{video_identifier}" # noqa: E501
|
116 |
+
"".strip()
|
117 |
|
118 |
attempts = 0
|
119 |
while True:
|