diff --git a/imitator/yt_demuc/requirements.txt b/imitator/yt_demuc/requirements.txt index f8198b2..b951a86 100644 --- a/imitator/yt_demuc/requirements.txt +++ b/imitator/yt_demuc/requirements.txt @@ -1,32 +1,3 @@ -antlr4-python3-runtime==4.9.3 -Brotli==1.0.9 -certifi==2023.7.22 click==8.1.3 -cloudpickle==2.2.1 -Cython==0.29.33 -demucs==4.0.0 -diffq==0.2.3 -dora-search==0.1.11 -einops==0.6.0 -julius==0.2.7 -lameenc==1.4.2 -mutagen==1.46.0 -numpy==1.24.2 -nvidia-cublas-cu11==11.10.3.66 -nvidia-cuda-nvrtc-cu11==11.7.99 -nvidia-cuda-runtime-cu11==11.7.99 -nvidia-cudnn-cu11==8.5.0.96 -omegaconf==2.3.0 -openunmix==1.2.1 -pycryptodomex==3.17 -PyYAML==6.0 -retrying==1.3.4 -six==1.16.0 -submitit==1.4.5 -torch==1.13.1 -torchaudio==0.13.1 -tqdm==4.64.1 -treetable==0.2.5 -typing_extensions==4.5.0 -websockets==10.4 -yt-dlp==2023.9.24 +demucs==4.0.1 +yt-dlp==2024.7.1 \ No newline at end of file diff --git a/imitator/yt_demuc/utils.py b/imitator/yt_demuc/utils.py index 15f1b3d..b889422 100644 --- a/imitator/yt_demuc/utils.py +++ b/imitator/yt_demuc/utils.py @@ -9,7 +9,7 @@ def download_video(video_id: str): ydl_opts = { 'format': 'vorbis/bestaudio/best', 'quiet': 'True', - 'outtmpl': '{}.ogg'.format(video_id), + 'outtmpl': f'{video_id}.%(ext)s', 'restrictfilename': 'True', 'postprocessors': [{ 'key': 'FFmpegExtractAudio',