These two lines work for me using diffusers 0.14.0, which is the latest version released today. Try updating your library (pip install diffusers==0.14.0
), just in case.
In the instructions you mention, the only thing I can read about “access request” says:
[…]if you want to use pipelines that require an access request without having to be connected to the Hugging Face Hub, we recommend loading pipelines locally.
Note that you are giving a repository name to the from_pretrained()
function, which means that it’s downloading the weights from the hub rather than your local filesystem (you should give it a path for that).