Instructions to use strangerzonehf/Flux-FlatLay-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use strangerzonehf/Flux-FlatLay-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("strangerzonehf/Flux-FlatLay-LoRA") prompt = "flat lay, a medium-sized young man, dressed in a black t-shirt with a yellow collar and a yellow baseball cap on his head. The mans face is angled slightly to the left, with a serious expression on his face. His hair is styled in a wavy bob, adding a pop of color to the scene. The background is a vibrant shade of blue, creating a striking contrast to the mans shirt. The word \"ADER\" is prominently displayed on the front of the shirt, with the word \"error\" written in a bold, red font." 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!