Staticaliza commited on
Commit
c1281b8
·
verified ·
1 Parent(s): 39c9ce9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ REPO = "sd-community/sdxl-flash"
27
 
28
  model = StableDiffusionXLPipeline.from_pretrained(REPO, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
29
  model.scheduler = EulerAncestralDiscreteScheduler.from_config(model.scheduler.config)
30
- model.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="base")
31
  model.set_adapters(["base"], adapter_weights=[0.7])
32
  model.to(DEVICE)
33
 
 
27
 
28
  model = StableDiffusionXLPipeline.from_pretrained(REPO, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
29
  model.scheduler = EulerAncestralDiscreteScheduler.from_config(model.scheduler.config)
30
+ model.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="base")
31
  model.set_adapters(["base"], adapter_weights=[0.7])
32
  model.to(DEVICE)
33