Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
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
Coprolaliac Press commited on
Commit ·
6293385
1
Parent(s): 59ec6bd
Update README.md
Browse files3 unmodified lines456789101112131415161718192021222324252627283 unmodified lines- stable-diffusion- stable-diffusion-diffusers- text-to-imagewidget:- text: "A high tech solarpunk utopia in the Amazon rainforest"example_title: Amazon rainforest- text: "A pikachu fine dining with a view to the Eiffel Tower"example_title: Pikachu in Paris- text: "A mecha robot in a favela in expressionist style"example_title: Expressionist robot- text: "an insect robot preparing a delicious meal"example_title: Insect robot- text: "A small cabin on top of a snowy mountain in the style of Disney, artstation"example_title: Snowy disney cabinextra_gated_prompt: |-This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.The CreativeML OpenRAIL License specifies:1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content2. The authors claim no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)Please read the full license carefully here: https://huggingface.co/spaces/CompVis/stable-diffusion-licenseextra_gated_heading: Please read the LICENSE to access this model---3 unmodified lines456789101112131415161718192021222324252627282930313233343536373839404142433 unmodified lines- stable-diffusion- stable-diffusion-diffusers- text-to-image- art- not-for-all-audienceswidget:- text: A high tech solarpunk utopia in the Amazon rainforestexample_title: Amazon rainforest- text: A pikachu fine dining with a view to the Eiffel Towerexample_title: Pikachu in Paris- text: A mecha robot in a favela in expressionist styleexample_title: Expressionist robot- text: an insect robot preparing a delicious mealexample_title: Insect robot- text: A small cabin on top of a snowy mountain in the style of Disney, artstationexample_title: Snowy disney cabinextra_gated_prompt: >-This model is open access and available to all, with a CreativeML OpenRAIL-Mlicense further specifying rights and usage.The CreativeML OpenRAIL License specifies:1. You can't use the model to deliberately produce nor share illegal orharmful outputs or content2. The authors claim no rights on the outputs you generate, you are free touse them and are accountable for their use which must not go against theprovisions set in the license3. You may re-distribute the weights and use the model commercially and/or asa service. If you do, please be aware you have to include the same userestrictions as the ones in the license and share a copy of the CreativeMLOpenRAIL-M to all your users (please read the license entirely and carefully)Please read the full license carefully here:https://huggingface.co/spaces/CompVis/stable-diffusion-licenseextra_gated_heading: Please read the LICENSE to access this model---
README.md+26-11