Instructions to use CompVis/stable-diffusion-v1-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CompVis/stable-diffusion-v1-4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda") prompt = "A high tech solarpunk utopia in the Amazon rainforest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
type access token into command prompt ?
I have the access token but it wont let me type it into the conda or piCharm terminal ?
You'll have to paste it in. On Windows you can copy it to clipboard, then right click in command prompt and press enter.
I can't paste. I can't type or paste into the access token portion of CMD, everything else is fine, why is this part the hold up?
Did you fix it Fivetide?
I can't paste. I can't type or paste into the access token portion of CMD, everything else is fine, why is this part the hold up?
Did you fix it Fivetide?
No.. as usual I just move on to something else that works
You'll have to paste it in. On Windows you can copy it to clipboard, then right click in command prompt and press enter.
Why do people think we are so dumb we didn't already try that ???
I also tried it in the conda terminal same thing wont allow you to type into the command line or paste.
| | | | ||| ||| ||| | | ||| |||| || ||| |||_|
_| _| _| _| _| _| _| || _| _| _| _| _| | |
|||| _| _| _| || _| || _| _| | | | || ||| |||| | |||
_| _| _| _| _| _| _| _| _| _| || _| _| _| _| _| _| |
| | || ||| ||| ||| _| | ||| | | | ||| ||||
To login, `huggingface_hub` now requires a token generated from https://huggingface.co/settings/tokens .
Token: Unable to type anything in here*
Yeah same issue and I can't find how to fix it
Hey man found how it works, it doesn't show your input.
Copy your code, run the login, right click once and press enter, it should work, I could have sworn i did that but keep trying and it actually got it for me. Good luck.