text
401 Client Error: Unauthorized for url: 
401 Client Error: Unauthorized for url: 
resource
https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/vae/config.json
model
black-forest-labs/FLUX.1-dev
https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/vae/config.json
new_line
new_line
text
The above exception was the direct cause of the following exception:
The above exception was the direct cause of the following exception:
new_line
new_line
text
huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6740a1d6-26b6f3b44563a26a49aea19d;fa54ac02-6068-44e1-b499-f793dd20335c)
huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6740a1d6-26b6f3b44563a26a49aea19d;fa54ac02-6068-44e1-b499-f793dd20335c)
new_line
new_line
text
Cannot access gated repo for url 
Cannot access gated repo for url 
resource
https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/vae/config.json
model
black-forest-labs/FLUX.1-dev
https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/vae/config.json
text
.
.
new_line
text
Access to model black-forest-labs/FLUX.1-dev is restricted. You must have access to it and be authenticated to access it. Please log in.
Access to model black-forest-labs/FLUX.1-dev is restricted. You must have access to it and be authenticated to access it. Please log in.
new_line
new_line
text
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
new_line
new_line
text
Traceback (most recent call last):
Traceback (most recent call last):
new_line
text
  File "/home/user/app/app.py", line 32, in <module>
  File "/home/user/app/app.py", line 32, in <module>
new_line
text
    good_vae = AutoencoderKL.from_pretrained(base_model, subfolder="vae", torch_dtype=dtype).to(device)
    good_vae = AutoencoderKL.from_pretrained(base_model, subfolder="vae", torch_dtype=dtype).to(device)
401 Client Error: Unauthorized for url: https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/vae/config.json

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

huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6740a1d6-26b6f3b44563a26a49aea19d;fa54ac02-6068-44e1-b499-f793dd20335c)

Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/vae/config.json.
Access to model black-forest-labs/FLUX.1-dev is restricted. You must have access to it and be authenticated to access it. Please log in.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/app/app.py", line 32, in <module>
    good_vae = AutoencoderKL.from_pretrained(base_model, subfolder="vae", torch_dtype=dtype).to(device)
👀
John6666
https://cdn-avatars.huggingface.co/v1/production/uploads/6740ab9e864cf5f619a70ee4/kLxfZKMB08I0F4XSD47MX.jpeg
Miguel Saraiva
n1k0p0l
user
https://cdn-avatars.huggingface.co/v1/production/uploads/6640bbd0220cfa8cbfdce080/wiAHUu5ewawyipNs0YFBR.png
John Smith
John6666
user