Views
No views yet
tsdsign to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('dhanushreddy29/tshirt-design', weight_name='tshirt-design.safetensors')
6image = pipeline('Tshirt Design, A cartoon image of a person juggling paintbrushes, gears, and lightbulbs, with the phrase "Embrace the Mess" written in playful, graffiti-style font. The background is a mix of vibrant splashes of paint and abstract doodles, representing creativity in action, tsdsign').images[0]
7image.save("my_image.png")