runtime error
Exit code: 1. Reason: ParallelMode File "/usr/local/lib/python3.10/site-packages/transformers/training_args.py", line 29, in <module> from .debug_utils import DebugOption File "/usr/local/lib/python3.10/site-packages/transformers/debug_utils.py", line 21, in <module> import torch File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 1382, in <module> from .functional import * # noqa: F403 File "/usr/local/lib/python3.10/site-packages/torch/functional.py", line 7, in <module> import torch.nn.functional as F File "/usr/local/lib/python3.10/site-packages/torch/nn/__init__.py", line 1, in <module> from .modules import * # noqa: F403 File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/__init__.py", line 35, in <module> from .transformer import TransformerEncoder, TransformerDecoder, \ File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/transformer.py", line 20, in <module> device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), /usr/local/lib/python3.10/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.) device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), /usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py:797: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 128, in <module> run_chatbot_with_gradio() File "/home/user/app/app.py", line 123, in run_chatbot_with_gradio whisper_model = initialize_whisper() # Inicializar el modelo de Whisper File "/home/user/app/app.py", line 41, in initialize_whisper model = whisper.load_model("base") AttributeError: module 'whisper' has no attribute 'load_model'
Container logs:
Fetching error logs...