Process for cloning the repository is obfuscated.
When users visit the Files page, the "Clone Repository" menu option is active, and the "https" option is the default. But attempts to clone vis https will deliberately fail. The https clone option should be disabled on the web page.
When users add an ssh key to their profile, and accept the project's terms, Model Card page reads Gated model You have been granted access to this model
. But ssh clone fails:
git clone git@hf.co:black-forest-labs/FLUX.1-dev
Cloning into 'FLUX.1-dev'...
remote: ========================================================================
remote:
remote: ERROR: Access denied: repository is gated and you are not in the authorized list.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
There are no instructions or guidance in the README or any other visible file, on how to clone this repository.
It would be helpful to all, if the README included info on how to get clone access, and who will be granted that access.
I found the HuggingFace FAQ on gated models. The README could reference that, note that access is not automatic, and document who will get permission.