Downloads · 30 days
12
24% of all-time downloads
robertschultz/lora-of-myself
lora-of-myself is a text-to-image model from robertschultz. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
Model trained with AI Toolkit by Ostris <Gallery /
Downloads · 30 days
12
24% of all-time downloads
All-time downloads
50
Public
Repo size
172 MB
Likes
0
Public
Click a slice to open those files.
.safetensors172 MB · 100%
From the Hugging Face model README
Model trained with AI Toolkit by Ostris <Gallery />
You should use TOK 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-schnell', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('robertschultz/lora-of-myself', weight_name='lora-of-myself')
image = pipeline('TOK in a bustling cafe').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers