runtime error
rt File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 77, in <module> from .text_to_audio import TextToAudioPipeline File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/text_to_audio.py", line 22, in <module> from ..models.speecht5.modeling_speecht5 import SpeechT5HifiGan File "/usr/local/lib/python3.10/site-packages/transformers/models/speecht5/modeling_speecht5.py", line 36, in <module> from ...modeling_utils import PreTrainedModel File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 37, in <module> from huggingface_hub import split_torch_state_dict_into_shards ImportError: cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub' (/usr/local/lib/python3.10/site-packages/huggingface_hub/__init__.py) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 11, in <module> from transformers import pipeline File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1576, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1588, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback): cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub' (/usr/local/lib/python3.10/site-packages/huggingface_hub/__init__.py)
Container logs:
Fetching error logs...