Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,6 @@ pipe = StableDiffusionPipeline.from_pretrained(
|
|
14 |
lora_path = "naonauno/40k-half-sd15"
|
15 |
pipe.load_lora_weights(lora_path)
|
16 |
|
17 |
-
# Merge LoRA weights
|
18 |
-
pipe.unet.load_attn_procs(lora_state_dict)
|
19 |
-
|
20 |
def generate_image(prompt, negative_prompt, guidance_scale, steps):
|
21 |
with torch.no_grad():
|
22 |
image = pipe(
|
|
|
14 |
lora_path = "naonauno/40k-half-sd15"
|
15 |
pipe.load_lora_weights(lora_path)
|
16 |
|
|
|
|
|
|
|
17 |
def generate_image(prompt, negative_prompt, guidance_scale, steps):
|
18 |
with torch.no_grad():
|
19 |
image = pipe(
|