Instructions to use senmaonk/loopfree-sd2.1-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use senmaonk/loopfree-sd2.1-base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("senmaonk/loopfree-sd2.1-base", 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 pipeline tag, library name, link to code
#1
by nielsr HF Staff - opened
This PR makes the model more discoverable by adding pipeline_tag: text-to-image as metadata. It also adds library_name: diffusers as well as a link to the Github repository, ensuring people can find the relevant code to reproduce the results.
senmaonk changed pull request status to merged