ford442 commited on
Commit
dee67cb
·
verified ·
1 Parent(s): 467e0b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ def load_and_prepare_model(model_id):
231
  #pipe.to(device, torch.bfloat16)
232
  #del pipeX
233
 
234
- pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="Fantasy_World_XL.safetensors", adapter_name="fantasy")
235
  pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/skin_texture_style_v4.safetensors", adapter_name="skin")
236
  pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/epicNewPhoto.safetensors", adapter_name="photo")
237
  #pipe.set_adapters(["skin", "photo", "fantasy"], adapter_weights=[0.5, 0.5, 0.5])
 
231
  #pipe.to(device, torch.bfloat16)
232
  #del pipeX
233
 
234
+ pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/Fantasy_World_XL.safetensors", adapter_name="fantasy")
235
  pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/skin_texture_style_v4.safetensors", adapter_name="skin")
236
  pipe.load_lora_weights("ford442/sdxl-vae-bf16", weight_name="LoRA/epicNewPhoto.safetensors", adapter_name="photo")
237
  #pipe.set_adapters(["skin", "photo", "fantasy"], adapter_weights=[0.5, 0.5, 0.5])