Downloads · 30 days
67
11% of all-time downloads
seawolf2357/test-hat
test-hat 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
67
11% of all-time downloads
All-time downloads
628
Public
Repo size
688 MB
Likes
0
Public
Click a slice to open those files.
.safetensors172 MB · 100%
From the Hugging Face model README
You should use hat 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-hat', weight_name='test-hat.safetensors')
image = pipeline('a man standing in a black coat and hat, with a pair of goggles in his hand. The background is dark, creating a stark contrast between the man and his surroundings. [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