runtime error
Space failed. Exit code: 1. Reason: f._class_to_module[name]) File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1284, 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.8/site-packages/huggingface_hub/__init__.py) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "app.py", line 42, in <module> from clip_interrogator import Config, Interrogator File "/home/user/.local/lib/python3.8/site-packages/clip_interrogator/__init__.py", line 1, in <module> from .clip_interrogator import Config, Interrogator, LabelTable, list_caption_models, list_clip_models, load_list File "/home/user/.local/lib/python3.8/site-packages/clip_interrogator/clip_interrogator.py", line 12, in <module> from transformers import AutoProcessor, AutoModelForCausalLM, BlipForConditionalGeneration, Blip2ForConditionalGeneration File "<frozen importlib._bootstrap>", line 1039, in _handle_fromlist File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1273, in __getattr__ value = getattr(module, name) File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1272, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1284, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.models.blip.modeling_blip 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.8/site-packages/huggingface_hub/__init__.py)
Container logs:
Fetching error logs...