Run this model with HF Jobs

Run tonyassi/tony-assi-lora-1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/tonyassi/tony-assi-lora-1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/tonyassi/tony-assi-lora-1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("tonyassi/tony-assi-lora-1")

prompt = "Tony Assi style"
image = pipe(prompt).images[0]

SDXL LoRA DreamBooth - tonyassi/tony-assi-lora-1

by Tony Assi

Dreambooth Lora style based on the Tony Assi collection.

Trigger words

Use Tony Assi style in the prompt to trigger the style.

How to use

pip install diffusers accelerate
import torch
from diffusers import DiffusionPipeline, AutoencoderKL

# Load the pipeline
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
pipe = DiffusionPipeline.from_pretrained(
    "stabilityai/stable-diffusion-xl-base-1.0",
    vae=vae,
    torch_dtype=torch.float16,
    variant="fp16",
    use_safetensors=True
)
pipe.load_lora_weights("tonyassi/tony-assi-lora-1")
pipe.to("cuda")

# Generate image
prompt = "Tony Assi style, megan fox wearing a gold mesh dress with crystals"
image = pipe(prompt=prompt,
             height=1024, 
             width=1024,
             num_inference_steps=50,
             negative_prompt="ugly, deformed face, deformed body").images[0]
image

Examples

image/png Tony Assi style, hunter schafer wearing a mint green mesh outfit with puffy sleeves, white background

image/png Tony Assi style, Kendall Jenner wearing a black mesh outfit with puffy black sleeves, white background

image/png Tony Assi style, eva mendes wearing clear vinyl outfit, white background

image/png Tony Assi style, Kendall Jenner wearing a black mesh outfit with puffy black sleeves, white background

image/png Tony Assi style, Angelina Jolie wearing black mesh outfit, white background

image/png Tony Assi style, Bella Hadid wearing white mesh, white background

image/png Tony Assi style, hunter schafer wearing a mint green mesh outfit with puffy sleeves, white background

Model description

These are tonyassi/tony-assi-lora-1 LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.

The weights were trained using DreamBooth.

LoRA for the text encoder was enabled: False.

Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Downloads last month
48
Inference Providers NEW

Model tree for tonyassi/tony-assi-lora-1

Adapter
(9,869)
this model

Space using tonyassi/tony-assi-lora-1 1