Demo is broken

#5
by abitrolly - opened

Diffusers page https://huggingface.co/tasks/image-to-image#useful-resources links to demo https://huggingface.co/spaces/diffusers/stable-diffusion-xl-inpainting which is broken:

runtime error
Exit code: 1. Reason: per(
  File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 402, in _request_wrapper
    response = _request_wrapper(
  File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 426, in _request_wrapper
    hf_raise_for_status(response)
  File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 320, in hf_raise_for_status
    raise RepositoryNotFoundError(message, response) from e
huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-67db4cec-13df24be236e2aca35a78366;8ccf965b-c99d-4975-9fe8-c66cef3b4799)

Repository Not Found for url: https://huggingface.co/diffusers/stable-diffusion-xl-1.0-inpainting-0.1/resolve/main/model_index.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid credentials in Authorization header

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/app/app.py", line 9, in <module>
    pipe = AutoPipelineForInpainting.from_pretrained("diffusers/stable-diffusion-xl-1.0-inpainting-0.1", torch_dtype=torch.float16, variant="fp16").to(device)
  File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/diffusers/pipelines/auto_pipeline.py", line 878, in from_pretrained
    config = cls.load_config(pretrained_model_or_path, **load_config_kwargs)
  File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 385, in load_config
    raise EnvironmentError(
OSError: diffusers/stable-diffusion-xl-1.0-inpainting-0.1 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with `use_auth_token` or log in with `huggingface-cli login`.

Container logs:

Failed to retrieve error logs: SSE is not enabled

Sign up or log in to comment