"Access to model black-forest-labs/FLUX.1-dev is restricted" only harms developers trying to make easy systems for non-techies to access this model locally
I remember the early days of SDXL had this restriction, then they dropped it. I'm trying to build easy ways for non-technical people (artists, designers, industrial designers) to work with this technology on their local hardware for just electricity costs.
Because of this restriction it harms the experience of using Flux vs SDXL and other models because they have to understand setting up an API key to even get access. Creatives don't really know anything about APIs as their career doesn't require them to.
Doesn't seem like a real solution for what it's trying to solve, the licence covers everything so the extra API key protection seems meaningless and farcical and only harms access from non-technical people via one-click tools.
That's a hassle, even trying to duplicate a space throws this error
yeah I have been going nutz trying to get this thing to work and I work in the IT field. this model seems great but access completely sucks. it wont work and I don't even understand why
@M00D
@TwistedTiger
@YuLexuan30
You need to login with your token.
You can easily do this using:
from huggingface_hub import login
token = “your token”
login(token = token)
Hello, I am authenticating with the token and keep giving this error message:
Apparently you need a pre-authorization?
Erro: 403 Client Error. (Request ID: Root=1-67042918-78dc753058b900804de3717a;c5d81594-4b54-436b-8155-9348eaa81faa)
Cannot access gated repo for url https:/huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/model_index.json.
Access to model black-forest-labs/FLUX.1-dev is restricted and you are not in the authorized list. Visit https:/huggingface.co/black-forest-labs/FLUX.1-dev to ask for access.
@cesarmelchior If you have access to the model, it should work. Are you using spaces or notebook or console?
@YaTharThShaRma999 spaces.
@cesarmelchior just to doublecheck:
- you have accepted access agreement and model now has label "Gated model: You have been granted access to this model", right?
@cesarmelchior Ok, try creating a space secret named HF_TOKEN and make it your own token. No need for extra login or anything then.
@YaTharThShaRma999 Its works. Thank you!
Hello, I am authenticating with the token and keep giving this error message:
Apparently you need a pre-authorization?Erro: 403 Client Error. (Request ID: Root=1-67042918-78dc753058b900804de3717a;c5d81594-4b54-436b-8155-9348eaa81faa)
Cannot access gated repo for url https:/huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/model_index.json.
Access to model black-forest-labs/FLUX.1-dev is restricted and you are not in the authorized list. Visit https:/huggingface.co/black-forest-labs/FLUX.1-dev to ask for access.
IIRC, I think I was getting a similar error to this when trying to download from github using that SSH option. But, since then I've just been using clone or download, it's more hassle-free.