Instructions to use prithivMLmods/Flux-Dev-Real-Anime-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Flux-Dev-Real-Anime-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("prithivMLmods/Flux-Dev-Real-Anime-LoRA") prompt = "A photo of an anime model wearing a trendy oversized sweater and denim shorts, sitting on a swing in a park with hands gripping the chains. The golden hour sunlight filters through the trees, creating a magical atmosphere. Fashion photography, high resolution, 35mm lens, f/2.8, natural lighting, global illumination. --ar 85:128 --v 6.0 --style raw." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
#1 opened over 1 year ago
by
keenkitty0