Views
No views yet
p3rson to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('Tongyi-MAI/Z-Image-Turbo', torch_dtype=torch.float16).to('cuda')
5pipeline.load_lora_weights('larrifarri/disgust-model_02', weight_name='disgust_realism_02.safetensors')
6image = pipeline('p3rson, subtle expression of distaste, wrinkled nose, looking at a dirty plate, raw photo, natural lighting, documentary style').images[0]
7image.save("my_image.png")