-
-
Save isozu/05e20428bab160ddb76bed159cb4fa0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@title Initial Setup | |
!pip install diffusers==0.2.4 transformers scipy ftfy | |
ACCESS_TOKEN="{{YOUR_TOKEN}}"#@param {type:"string"} | |
from diffusers import StableDiffusionPipeline | |
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=ACCESS_TOKEN) | |
pipe.to("cuda") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment