Spaces:
Running
Running
Add torchcodec dependency for torchaudio audio loading
Browse filesNewer torchaudio (2.6+) defaults to the torchcodec backend for
audio loading. Without it, torchaudio.load() fails with ImportError
when processing .opus files during auto-labeling.
- requirements.txt +1 -0
requirements.txt
CHANGED
|
@@ -16,6 +16,7 @@ omegaconf>=2.3.0
|
|
| 16 |
hydra-core>=1.3.0
|
| 17 |
|
| 18 |
# Audio Processing
|
|
|
|
| 19 |
librosa>=0.10.0
|
| 20 |
soundfile>=0.12.0
|
| 21 |
scipy>=1.11.0
|
|
|
|
| 16 |
hydra-core>=1.3.0
|
| 17 |
|
| 18 |
# Audio Processing
|
| 19 |
+
torchcodec>=0.1.0
|
| 20 |
librosa>=0.10.0
|
| 21 |
soundfile>=0.12.0
|
| 22 |
scipy>=1.11.0
|