Downloads · 30 days
42
4% of all-time downloads
seawolf2357/test-glasses
test-glasses is a text-to-image model from seawolf2357. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
Downloads · 30 days
42
4% of all-time downloads
All-time downloads
972
Public
Repo size
688 MB
Likes
4
Public
Click a slice to open those files.
.safetensors172 MB · 100%
From the Hugging Face model README
You should use glasses to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('seawolf2357/test-glasses', weight_name='test-glasses.safetensors')
image = pipeline('A person with a pair of Burberry eyeglasses with a brown frame and clear lenses on a white background. The glasses have a classic, timeless design with the Burberry logo printed on the side. The lenses are tinted and the frame is made of a durable material, making them perfect for everyday wear. [trigger]').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers