ar0551 commited on
Commit
5b76699
·
verified ·
1 Parent(s): e7da7ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -37,6 +37,7 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
37
  # Load lora (giving it a name makes it active when using the name in the prompt)
38
  pipe.load_lora_weights("ostris/ikea-instructions-lora-sdxl", weight_name="ikea_instructions_xl_v1_5.safetensors", adapter_name="ikea")
39
  pipe.load_lora_weights("nerijs/pixel-art-xl", weight_name="pixel-art-xl.safetensors", adapter_name="pixel")
 
40
 
41
  def activate_ikea_lora():
42
  print("Activating IKEA LoRa")
 
37
  # Load lora (giving it a name makes it active when using the name in the prompt)
38
  pipe.load_lora_weights("ostris/ikea-instructions-lora-sdxl", weight_name="ikea_instructions_xl_v1_5.safetensors", adapter_name="ikea")
39
  pipe.load_lora_weights("nerijs/pixel-art-xl", weight_name="pixel-art-xl.safetensors", adapter_name="pixel")
40
+ pipe.disable_lora()
41
 
42
  def activate_ikea_lora():
43
  print("Activating IKEA LoRa")