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 Settings
- Draw Things
- DiffusionBee
Commit History
-
Update API
Verified signature80e3dc6
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#3)
- Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (e30ca2a971d65a86d9040e9dc95ea4e4868dd738)2d63e87
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#1)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (e8c2ed4a8d2a6d6979b8b47e4b75f0fd76c188c9) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>d06b43a
-
Update README.md
20399b2
-
Update README.md
7f8ea92
-
Upload create_handler.ipynb
56d3072 -
Delete create_handler.ipynb
f35b460 -
Update handler.py
b4cf3d3
-
Update handler.py
8ccead5 -
Update requirements.txt
7468751
-
add handler
3d0c874 -
initial commit
a5ad144