Initial upload for threadguyflux 04c2119
lifehaverdev commited on
How to use ms2stationthis/threadguyflux 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("ms2stationthis/threadguyflux")
prompt = "This is a photograph of a young threadguy sitting in a black director's chair in what appears to be a studio or warehouse setting with a polished concrete floor. The threadguy, who has light skin and a well-groomed beard, is smiling and making a peace sign with his right hand. He is wearing a dark grey T-shirt with the text \"KILLER G\" printed in white on the back, along with a yellow graphic design. His pants are light brown, and he is wearing white sneakers."
image = pipe(prompt).images[0]