Instructions to use blurgy/CoMPaSS-SD1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use blurgy/CoMPaSS-SD1.5 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-SD1.5", 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
- Draw Things
- DiffusionBee
Improve model card: Add pipeline_tag, library_name, update paper link, and clean up content
#1
by nielsr HF Staff - opened
This PR enhances the model card for CoMPaSS-SD1.5, based on the paper CoMPaSS: Enhancing Spatial Understanding in Text-to-Image Diffusion Models.
Specifically, it addresses the following points:
- Adds
pipeline_tag: text-to-imageto the metadata, improving model discoverability via the Hugging Face Hub filters. - Adds
library_name: diffusersto the metadata, enabling direct integration and usage snippets within the Hub UI. - Updates the paper link within the model card content to the official Hugging Face paper page.
- Reformats inline links for the project page, code, and paper for better readability and prominence.
- Removes a redundant title heading (
# CoMPaSS-SD1.5) under the model description for cleaner presentation. - Updates the BibTeX citation to include the URL to the Hugging Face paper page.
- Updates the license link to be an absolute URL for robustness.
These changes provide clearer and more structured information for users, facilitating easier discovery and understanding of the model's capabilities and usage.