--- title: FLUX.1-dev CMO Compositional emoji: 🎨 colorFrom: gray colorTo: purple sdk: gradio sdk_version: 6.20.0 app_file: app.py short_description: FLUX.1-dev fine-tuned with CMO for compositional generation python_version: "3.12" startup_duration_timeout: 30m --- # FLUX.1-dev CMO — Compositional Text-to-Image This Space demonstrates **Correlation-Weighted Multi-Reward Optimization (CMO)** applied to FLUX.1-dev. CMO improves compositional text-to-image generation by analyzing the correlation structure among concept-wise rewards (object existence, attributes, numeracy, size, spatial relations) and adaptively weighting conflicting concepts during training. ## Model - **Base:** [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) - **LoRA adapter:** [Bruece/FLUX.1-dev-CMO](https://huggingface.co/Bruece/FLUX.1-dev-CMO) ## Usage Enter a compositional prompt (e.g. "A red apple is on the left of the yellow banana") and click Run. The model is loaded in bfloat16 with a tiny VAE for fast preview. ## License FLUX.1-dev carries a non-commercial license. See [LICENSE](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).