Text-to-Image
Diffusers
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
endpoints-template
Instructions to use philschmid/stable-diffusion-v1-4-endpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use philschmid/stable-diffusion-v1-4-endpoints with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("philschmid/stable-diffusion-v1-4-endpoints", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Commit ·
20399b2
1
Parent(s): 7f8ea92
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,11 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
tags:
|
| 4 |
- stable-diffusion
|
| 5 |
- stable-diffusion-diffusers
|
| 6 |
- text-to-image
|
| 7 |
- endpoints-template
|
| 8 |
inference: false
|
| 9 |
-
extra_gated_prompt: |-
|
| 10 |
-
One more step before getting this model.
|
| 11 |
-
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
| 12 |
-
The CreativeML OpenRAIL License specifies:
|
| 13 |
-
|
| 14 |
-
1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
|
| 15 |
-
2. CompVis claims 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 license
|
| 16 |
-
3. 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)
|
| 17 |
-
Please read the full license here: https://huggingface.co/spaces/CompVis/stable-diffusion-license
|
| 18 |
-
|
| 19 |
-
By clicking on "Access repository" below, you accept that your *contact information* (email address and username) can be shared with the model authors as well.
|
| 20 |
-
|
| 21 |
-
extra_gated_fields:
|
| 22 |
-
I have read the License and agree with its terms: checkbox
|
| 23 |
---
|
| 24 |
|
| 25 |
# Fork of [CompVis/stable-diffusion-v1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4)
|
|
|
|
| 1 |
---
|
| 2 |
+
license: creativeml-openrail-m
|
| 3 |
tags:
|
| 4 |
- stable-diffusion
|
| 5 |
- stable-diffusion-diffusers
|
| 6 |
- text-to-image
|
| 7 |
- endpoints-template
|
| 8 |
inference: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# Fork of [CompVis/stable-diffusion-v1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4)
|