Spaces:
Running
on
A100
Running
on
A100
Commit
•
1f82a5e
1
Parent(s):
e9f4989
Update app.py
Browse files
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
|
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",
|