Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ repo = "fluently/Fluently-XL-Final"
|
|
19 |
|
20 |
pipe_best = StableDiffusionXLPipeline.from_pretrained(repo, torch_dtype=torch.float16, vae=vae)
|
21 |
pipe_best.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle")
|
22 |
-
pipe_best.load_lora_weights("
|
23 |
pipe_best.set_adapters(["lora","dalle"], adapter_weights=[1.5, 0.5])
|
24 |
pipe_best.to("cuda")
|
25 |
|
|
|
19 |
|
20 |
pipe_best = StableDiffusionXLPipeline.from_pretrained(repo, torch_dtype=torch.float16, vae=vae)
|
21 |
pipe_best.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle")
|
22 |
+
pipe_best.load_lora_weights("Niansuh/Better-Image-XL-Lora", weight_name="example-03.safetensors", adapter_name="lora")
|
23 |
pipe_best.set_adapters(["lora","dalle"], adapter_weights=[1.5, 0.5])
|
24 |
pipe_best.to("cuda")
|
25 |
|