KingNish commited on
Commit
9902330
·
verified ·
1 Parent(s): 0b735f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ if torch.cuda.is_available():
30
  )
31
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
32
  pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle2")
33
- pipe.set_adapters(["dalle1"], adapter_weights=[0.5])
34
 
35
  pipe.to("cuda")
36
 
 
30
  )
31
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
32
  pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle2")
33
+ pipe.set_adapters(["dalle1"], adapter_weights=[0.7])
34
 
35
  pipe.to("cuda")
36