Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,7 +104,7 @@ def download_youtube_audio(url, method_choice):
|
|
| 104 |
logging.error(f"Error downloading using {method_choice}: {str(e)}")
|
| 105 |
return None
|
| 106 |
|
| 107 |
-
|
| 108 |
"""
|
| 109 |
Downloads YouTube audio using yt-dlp and saves it to a temporary file.
|
| 110 |
|
|
|
|
| 104 |
logging.error(f"Error downloading using {method_choice}: {str(e)}")
|
| 105 |
return None
|
| 106 |
|
| 107 |
+
def yt_dlp_method(url):
|
| 108 |
"""
|
| 109 |
Downloads YouTube audio using yt-dlp and saves it to a temporary file.
|
| 110 |
|