How to use from the
Use from the
Diffusers library
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("gorkemyurt/lora-train")

prompt = "a photo of a man"
image = pipe(prompt).images[0]

lora train

Model description

my first lora

Trigger words

You should use a photo of a man to trigger the image generation.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Training at fal.ai

Training was done using fal.ai/models/fal-ai/flux-lora-general-training.

Downloads last month
7
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for gorkemyurt/lora-train

Adapter
(36848)
this model

Spaces using gorkemyurt/lora-train 2