Instructions to use Seanwang1221/LiuYifei_FLUX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Seanwang1221/LiuYifei_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/LiuYifei_FLUX") prompt = "LYF, In a noir-inspired scene set against the dimly lit, smoky ambiance of a 1940s speakeasy in New York City, a captivating woman with raven-black hair cascading down her back, is captured in a dramatic close-up portrait. Her parted lips reveal a hint of red lipstick and a flash of perfect white teeth as she gazes directly at the viewer with an enigmatic expression, accentuated by the soft, single beam of light casting a shadow on her striking, intricately designed jewelry that glints mysteriously against the inky darkness. The emotional tone is one of allure and intrigue, as if hinting at secrets only she possesses." 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!