Instructions to use WiroAI/Tzuyu-Flux-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WiroAI/Tzuyu-Flux-LoRA 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("WiroAI/Tzuyu-Flux-LoRA") prompt = "tzuyuwiro, a stylish woman with white skin, purple hair, and brown eyes. She is wearing a tailored black trench coat over a turtleneck sweater, standing on a bustling city street at dusk. The glow of neon lights reflects off nearby glass windows, creating a vibrant urban scene." image = pipe(prompt).images[0] - Transformers
How to use WiroAI/Tzuyu-Flux-LoRA with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WiroAI/Tzuyu-Flux-LoRA", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!