Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from huggingface_hub import hf_hub_download
|
|
11 |
from huggingface_hub import InferenceClient
|
12 |
|
13 |
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
14 |
-
pipe = StableDiffusionXLPipeline.from_pretrained("
|
15 |
pipe.load_lora_weights("KingNish/Better-Image-XL-Lora", weight_name="example-03.safetensors", adapter_name="lora")
|
16 |
pipe.set_adapters("lora")
|
17 |
pipe.to("cuda")
|
|
|
11 |
from huggingface_hub import InferenceClient
|
12 |
|
13 |
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
14 |
+
pipe = StableDiffusionXLPipeline.from_pretrained("fluently/Fluently-XL-Final", torch_dtype=torch.float16, vae=vae)
|
15 |
pipe.load_lora_weights("KingNish/Better-Image-XL-Lora", weight_name="example-03.safetensors", adapter_name="lora")
|
16 |
pipe.set_adapters("lora")
|
17 |
pipe.to("cuda")
|