runtime error
Exit code: 1. Reason: MB/s] mean_var_norm_emb.ckpt: 0%| | 0.00/3.20k [00:00<?, ?B/s][A mean_var_norm_emb.ckpt: 100%|██████████| 3.20k/3.20k [00:00<00:00, 12.1kB/s] classifier.ckpt: 0%| | 0.00/15.9M [00:00<?, ?B/s][A classifier.ckpt: 100%|██████████| 15.9M/15.9M [00:00<00:00, 37.3MB/s] label_encoder.txt: 0.00B [00:00, ?B/s][A label_encoder.txt: 129kB [00:00, 46.7MB/s] Models loaded successfully. Diyaarinta codadka... Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/torchaudio/_torchcodec.py", line 82, in load_with_torchcodec from torchcodec.decoders import AudioDecoder ModuleNotFoundError: No module named 'torchcodec' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/app.py", line 47, in get_speaker_embedding audio, sr = torchaudio.load(wav_file_path) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/torchaudio/__init__.py", line 86, in load return load_with_torchcodec( uri, ...<6 lines>... backend=backend, ) File "/usr/local/lib/python3.13/site-packages/torchaudio/_torchcodec.py", line 84, in load_with_torchcodec raise ImportError( "TorchCodec is required for load_with_torchcodec. " "Please install torchcodec to use this function." ) from e ImportError: TorchCodec is required for load_with_torchcodec. Please install torchcodec to use this function. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/app.py", line 171, in <module> get_speaker_embedding(voice_file) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/app/app.py", line 59, in get_speaker_embedding raise gr.Error(f"Could not process audio file {wav_file_path}. Error: {e}") gradio.exceptions.Error: 'Could not process audio file 1.wav. Error: TorchCodec is required for load_with_torchcodec. Please install torchcodec to use this function.'
Container logs:
Fetching error logs...