Added examples ef10383
bodza commited on
How to use SebastianBodza/flux_cute3D 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("SebastianBodza/flux_cute3D")
prompt = "NEOCUTE3D of Picture a valiant knight in shining armor, mounted on a gallant steed, charging with a lance towards an opponent in a lively medieval fair setting"
image = pipe(prompt).images[0]