Instructions to use prithivMLmods/Flux-Long-Toon-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Flux-Long-Toon-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-Long-Toon-LoRA") prompt = "Long toons, a close-up of a cartoon characters face is featured in a vibrant red backdrop. The characters head is adorned with a gray hoodie, a red t-shirt, and a pair of pink earbuds. His eyes, a nose, and mustache are adorned with tiny white dots, adding a pop of color to the scene. His hair is a mix of black and gray, while his ears are a darker shade of pink." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload 2 files
Browse files- images/LT5.png +3 -0
- images/LT6.png +3 -0
images/LT5.png
ADDED
|
Git LFS Details
|
images/LT6.png
ADDED
|
Git LFS Details
|