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("duan01/testmodel_F")

prompt = "11"
image = pipe(prompt).images[0]

test_f

Prompt
11
Negative Prompt
11

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Downloads last month
4
Inference Providers NEW
Examples

Model tree for duan01/testmodel_F

Adapter
(42398)
this model