Instructions to use blurgy/CoMPaSS-SD2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use blurgy/CoMPaSS-SD2.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("blurgy/CoMPaSS-SD2.1", dtype=torch.bfloat16, device_map="cuda") prompt = "a photo of a laptop above a dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Improve model card: Add pipeline_tag and library_name metadata
#1
by nielsr HF Staff - opened
This PR enhances the model card by adding pipeline_tag: text-to-image and library_name: diffusers to the metadata.
- The
pipeline_tagensures the model is discoverable under the 'text-to-image' filter at https://huggingface.co/models?pipeline_tag=text-to-image. - The
library_nameenables the 'Use in Diffusers' quickstart widget on the model page.