multimodalart HF staff commited on
Commit
1f82a5e
1 Parent(s): e9f4989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ with gr.Blocks(css=css) as demo:
144
  from diffusers import DiffusionPipeline, LCMScheduler
145
  pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0").to("cuda")
146
  pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
147
- pipe.load_lora_weights("lcm-sd/lcm-sdxl-lora") #yes, it is a real LoRA that gives superpowers to SDXL!
148
 
149
  results = pipe(
150
  prompt="The spirit of a tamagotchi wandering in the city of Vienna",
 
144
  from diffusers import DiffusionPipeline, LCMScheduler
145
  pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0").to("cuda")
146
  pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
147
+ pipe.load_lora_weights("lcm-sd/lcm-sdxl-lora") #yes, it's a normal LoRA
148
 
149
  results = pipe(
150
  prompt="The spirit of a tamagotchi wandering in the city of Vienna",