Downloads · 30 days
25
10% of all-time downloads
Dave97/Omnigen_lora_ashly-lora
Omnigen_lora_ashly-lora is a text-to-image model from Dave97. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
Downloads · 30 days
25
10% of all-time downloads
All-time downloads
244
Public
Repo size
756 MB
Likes
0
Public
Click a slice to open those files.
.safetensors756 MB · 100%
From the Hugging Face model README
Model trained with AI Toolkit by Ostris
No trigger words defined.
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('OmniGen2/OmniGen2', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('Dave97/Omnigen_lora_ashly-lora', weight_name='Omnigen_lora_ashly_000001000.safetensors')
image = pipeline('a beautiful landscape').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers