Instructions to use blurgy/CoMPaSS-FLUX.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use blurgy/CoMPaSS-FLUX.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("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("blurgy/CoMPaSS-FLUX.1") prompt = "a photo of a laptop above a dog" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Improve CoMPaSS-FLUX.1 Model Card: Add pipeline_tag, library_name, and format links
#1
by nielsr HF Staff - opened
This PR enhances the model card for CoMPaSS-FLUX.1 by:
- Adding
pipeline_tag: text-to-imageandlibrary_name: diffusersto the metadata. This ensures the model is correctly categorized on the Hugging Face Hub and enables the automated "Use in Diffusers" widget, as the model explicitly states "Framework: Diffusers" in its description. - Improving the visibility of key links (Project Page, Code, arXiv paper) by moving them to prominent inline links at the top of the model card.
- Integrating the paper title "CoMPaSS: Enhancing Spatial Understanding in Text-to-Image Diffusion Models" into the main heading and the model description for better context.
- Removing a redundant heading and updating the "Using the Model" link for overall clarity and consistency.
These changes will make the model more discoverable and easier to use for the community.