Replaces default torchaudio.load() in LoadAudioDirectory.load_directory with a fallback mechanism that strictly requests the 'soundfile' backend, and falls back to librosa.load() if it fails. This prevents FFmpeg linking errors related to torchcodec on Linux. Also adds soundfile and librosa to requirements.txt.
6 lines
68 B
Plaintext
6 lines
68 B
Plaintext
demucs>=4.0.0
|
|
torch>=2.0.0
|
|
torchaudio>=2.0.0
|
|
numpy
|
|
librosa
|
|
soundfile |