Instructions to use pqt33/ELDiff_SD21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use pqt33/ELDiff_SD21 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("pqt33/ELDiff_SD21", 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
Add model card with license, pipeline tag, and sample usage
#1
by nielsr HF Staff - opened
Hi! I am opening this PR to add a model card for ELDiff.
It includes:
- Metadata tags (
pipeline_tag: text-to-image,library_name: diffusers, andlicense: apache-2.0). - A brief description of the paper and links to the paper and the official GitHub repository.
- A quickstart code snippet demonstrating how to load and run the model using the
diffuserslibrary.