runtime error

Space failed. Exit code: 1. Reason: ackages/transformers/utils/import_utils.py", line 1366, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.generation.utils because of the following error (look up to see its traceback): cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub' (/home/user/.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 24, in <module> from groundingdino.models import build_model File "/home/user/app/./GroundingDINO/groundingdino/models/__init__.py", line 8, in <module> from .GroundingDINO import build_groundingdino File "/home/user/app/./GroundingDINO/groundingdino/models/GroundingDINO/__init__.py", line 15, in <module> from .groundingdino import build_groundingdino File "/home/user/app/./GroundingDINO/groundingdino/models/GroundingDINO/groundingdino.py", line 24, in <module> from transformers import AutoTokenizer, BertModel, BertTokenizer, RobertaModel, RobertaTokenizerFast File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1355, in __getattr__ value = getattr(module, name) File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1354, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1366, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.models.bert.modeling_bert because of the following error (look up to see its traceback): Failed to import transformers.generation.utils because of the following error (look up to see its traceback): cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub' (/home/user/.local/lib/python3.10/site-packages/huggingface_hub/__init__.py)

Container logs:

Fetching error logs...