Instructions to use rockerBOO/flux.1-dev-SRPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rockerBOO/flux.1-dev-SRPO with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("rockerBOO/flux.1-dev-SRPO", 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
- Draw Things
- DiffusionBee
Improve model card: Add pipeline tag, update library_name, and fix abstract typo
#1
by nielsr HF Staff - opened
This PR enhances the model card by:
- Adding the
pipeline_tag: text-to-imageto improve model discoverability under the relevant pipeline filter on the Hub. - Updating the
library_namefromSRPOtodiffusers, as evidenced by thefrom diffusers import FluxPipelineimport in the provided inference snippet. This will enable the automated "how to use" widget on the Hub. - Fixing a minor typo in the section header `
Thanks!
rockerBOO changed pull request status to merged