naonauno commited on
Commit
a23bb4f
·
verified ·
1 Parent(s): 7f85a0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
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(