runtime error
kages/transformers/file_utils.py", line 2050, in get_from_cache _raise_for_status(r) File "/home/user/.local/lib/python3.8/site-packages/transformers/file_utils.py", line 1977, in _raise_for_status request.raise_for_status() File "/home/user/.local/lib/python3.8/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/gagan3012/ViTGPT2I2A/resolve/main/config.json During handling of the above exception, another exception occurred: Traceback (most recent call last): File "app.py", line 17, in <module> model = VisionEncoderDecoderModel.from_pretrained(model_checkpoint).to(device) File "/home/user/.local/lib/python3.8/site-packages/transformers/models/vision_encoder_decoder/modeling_vision_encoder_decoder.py", line 244, in from_pretrained return super().from_pretrained(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/transformers/modeling_utils.py", line 1268, in from_pretrained config, model_kwargs = cls.config_class.from_pretrained( File "/home/user/.local/lib/python3.8/site-packages/transformers/configuration_utils.py", line 510, in from_pretrained config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/transformers/configuration_utils.py", line 537, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/transformers/configuration_utils.py", line 618, in _get_config_dict raise EnvironmentError( OSError: We couldn't connect to 'https://huggingface.co/' to load this model and it looks like gagan3012/ViTGPT2I2A is not the path to a directory conaining a config.json file. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
Container logs:
Fetching error logs...