Views
No views yet
1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('CiroN2022/microverse-creator', weight_name='microverse-creator')
6image = pipeline('a wooden table with a model of a house on top of it, surrounded by trees, a cassette tape, a remote, a speaker, a book, a glass, and other objects. It appears to be an amazing 3D model of an old-fashioned house, with intricate details and a unique design.').images[0]
7image.save("my_image.png")