runtime error
Exit code: 1. Reason: huggingface_hub.errors.HfHubHTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/briaai/RMBG-2.0/resolve/main/config.json (Request ID: Root=1-690e1601-6bd6caeb44bea66464119fdf;e1532776-8292-4e2e-ac98-9bfb78bdeed6) Invalid credentials in Authorization header The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 12, in <module> model = AutoModelForImageSegmentation.from_pretrained('briaai/RMBG-2.0', trust_remote_code=True).eval().to(device) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 549, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1333, in from_pretrained config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 662, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 721, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 322, in cached_file file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 563, in cached_files raise OSError(f"There was a specific connection error when trying to load {path_or_repo_id}:\n{e}") from e OSError: There was a specific connection error when trying to load briaai/RMBG-2.0: 401 Client Error: Unauthorized for url: https://huggingface.co/briaai/RMBG-2.0/resolve/main/config.json (Request ID: Root=1-690e1601-6bd6caeb44bea66464119fdf;e1532776-8292-4e2e-ac98-9bfb78bdeed6) Invalid credentials in Authorization header
Container logs:
Fetching error logs...