Instructions to use Seanwang1221/ZhouHuimin_FLUX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Seanwang1221/ZhouHuimin_FLUX 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("Seanwang1221/ZhouHuimin_FLUX") prompt = "ZHM, A photo of a young woman with black hair wearing round glasses and a form-fitting black top. She is in a classroom setting with black and yellow walls. The woman is gazing seductively at the viewer with a soft smile and lustful eyes. Her dark red lipstick and piercing black eyes create a sense of both seduction and sexiness." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!