Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ adapter_id = "ksyint/teu_lora"
|
|
8 |
|
9 |
pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.float32, variant="fp16")
|
10 |
pipe.scheduler = DDPMScheduler.from_config(pipe.scheduler.config)
|
11 |
-
pipe.to("
|
12 |
|
13 |
pipe.load_lora_weights(adapter_id)
|
14 |
pipe.fuse_lora()
|
|
|
8 |
|
9 |
pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.float32, variant="fp16")
|
10 |
pipe.scheduler = DDPMScheduler.from_config(pipe.scheduler.config)
|
11 |
+
pipe.to("cuda")
|
12 |
|
13 |
pipe.load_lora_weights(adapter_id)
|
14 |
pipe.fuse_lora()
|