Instructions to use prithivMLmods/Flux.1-Dev-Poster-HQ-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Flux.1-Dev-Poster-HQ-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.1-Dev-Poster-HQ-LoRA") prompt = "poster foss, Captured in a light brown, cartoon-like poster, the main focal point of the image is a portrait of a man in a brown collared shirt with the word \"LOKI\" written in bold black letters on the front. The mans face is covered in dark brown hair, and he is wearing a black collar around his neck. His eyes are squinted and he has a serious expression on his face. To the left of the man, there is a red circle with the number 6 on it, and to the right of the circle, there are two smaller circular circles with the same number on it. The background of the poster is black, with the words \"TALES FROM THE TIME WARRIANCE AUTHORITY\" in white letters." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
How many training data did you used?
1
#1 opened over 1 year ago
by
yeungchenwa0106