Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ controlnet = ControlNetModel.from_pretrained("MakiPan/controlnet-encoded-hands-1
|
|
36 |
|
37 |
repo_default = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash", vae=vae, controlnet=controlnet, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
|
38 |
repo_default.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="base")
|
39 |
-
repo_default.load_lora_weights("Corcelio/mobius", adapter_name="base2")
|
40 |
repo_default.set_adapters(["base", "base2"], adapter_weights=[0.7, 0.7])
|
41 |
|
42 |
repo_pixel = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash", vae=vae, controlnet=controlnet, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
|
|
|
36 |
|
37 |
repo_default = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash", vae=vae, controlnet=controlnet, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
|
38 |
repo_default.load_lora_weights("ehristoforu/dalle-3-xl-v2", adapter_name="base")
|
39 |
+
repo_default.load_lora_weights("Corcelio/mobius", weight_name="mobius.safetensors", adapter_name="base2")
|
40 |
repo_default.set_adapters(["base", "base2"], adapter_weights=[0.7, 0.7])
|
41 |
|
42 |
repo_pixel = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash", vae=vae, controlnet=controlnet, torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
|