Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import gc
|
|
9 |
def main(prompt):
|
10 |
|
11 |
model_id = "stabilityai/stable-diffusion-xl-base-1.0"
|
12 |
-
adapter_id = "
|
13 |
|
14 |
pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.float32, variant="fp16")
|
15 |
pipe.scheduler = DDPMScheduler.from_config(pipe.scheduler.config)
|
|
|
9 |
def main(prompt):
|
10 |
|
11 |
model_id = "stabilityai/stable-diffusion-xl-base-1.0"
|
12 |
+
adapter_id = "ksyint/teu_lora"
|
13 |
|
14 |
pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.float32, variant="fp16")
|
15 |
pipe.scheduler = DDPMScheduler.from_config(pipe.scheduler.config)
|