runtime error
Exit code: 1. Reason: ocate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 6, in <module> from generation import run as run_ours File "/home/user/app/generation.py", line 6, in <module> from shared import ( File "/home/user/app/shared.py", line 15, in <module> sam_model_dict = sam.load_sam() File "/home/user/app/models/sam.py", line 13, in load_sam sam_model = SamModel.from_pretrained("facebook/sam-vit-base").to(torch_device) File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2251, in from_pretrained config, model_kwargs = cls.config_class.from_pretrained( File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/transformers/configuration_utils.py", line 547, in from_pretrained config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/transformers/configuration_utils.py", line 574, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/transformers/configuration_utils.py", line 629, in _get_config_dict resolved_config_file = cached_file( File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/transformers/utils/hub.py", line 452, in cached_file raise EnvironmentError( OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like facebook/sam-vit-base is not the path to a directory containing a file named config.json. 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...