Repository Not Found error

#3
by besarismaili - opened

When trying to duplicate the space I'm getting the following error:

Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 286, in hf_raise_for_status
response.raise_for_status()
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/Paper99/sdxlUnstableDiffusers_v11/resolve/main/sdxlUnstableDiffusers_v11.safetensors

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/user/app/app.py", line 22, in
base_model_path = hf_hub_download(repo_id="Paper99/sdxlUnstableDiffusers_v11", filename=base_model_name, repo_type="model")
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1368, in hf_hub_download
raise head_call_error
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1238, in hf_hub_download
metadata = get_hf_file_metadata(
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1631, in get_hf_file_metadata
r = _request_wrapper(
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 385, 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 409, 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 323, in hf_raise_for_status
raise RepositoryNotFoundError(message, response) from e
huggingface_hub.utils._errors.RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-65a58c1c-2394f1a37f376ae926c30c9e;b345c1f0-9f3e-485e-9b08-6a449174571d)

Repository Not Found for url: https://huggingface.co/Paper99/sdxlUnstableDiffusers_v11/resolve/main/sdxlUnstableDiffusers_v11.safetensors.
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.

Same. Looks like somebody removed the model from their repo.
Is there another source? I can't find one on hugging face
UPDATE: The models are available on CivitAI, I think Paper99 has them "Private" just for TencentARC's use. You need to add a new BASE model (private) to your space for the UnstableDiffusers model and upload both that model and the xl_more_art-full LORA (I found a "V1" on CivitAI) to that model fileset, then edit the python code to point to your personal repo. Replace "Paper99" with your own HF username, and the repo with what you called it. I renamed the "V1" LORA to match what PhotoMaker-Style was using.
I haven't tested it, but I was able to get it built and the UI up using my substitutions.

ARC Lab, Tencent PCG org

Here are links of models we used in PhotoMaker-Style:

  1. stableUnstableDiffusers_v11
  2. xl_more_art-full

Downloaded the models, maybe somebody can nudge me in the right direction what to change in what files to make it actually work.
Thanks you all!

hf_photomaker.JPG

After you duplicate the space, edit your app.py file in the space to point to your own models.

It works, thank you!

Sign up or log in to comment