runtime error
Exit code: 1. Reason: raise _format(HfHubHTTPError, str(e), response) from e 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-68aced16-5faef9444add6488103b5897;7cbb1763-e85e-4f5f-acc3-1943ac6d68a7) 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> birefnet = AutoModelForImageSegmentation.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 547, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1197, 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 608, 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 667, in _get_config_dict resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 312, 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 553, 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-68aced16-5faef9444add6488103b5897;7cbb1763-e85e-4f5f-acc3-1943ac6d68a7) Invalid credentials in Authorization header
Container logs:
Fetching error logs...