Create images/ 6567882 verified
Lisandro commited on
How to use furaidosu/samhtr with Diffusers:
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("furaidosu/samhtr")
prompt = "dott style, an end street to a high clif over the ocean, little town, capri,point and click game background,50s cartoon style picture, swirly clouds, perspective distortion, surrealistic look, twisted elements, skewed architectural, 360 panorama, 2 vanishing points perspective, cell painting"
image = pipe(prompt).images[0]