Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ repo_nsfw_classifier = pipeline("image-classification", model="Falconsai/nsfw_im
|
|
36 |
|
37 |
repo_default = StableDiffusionXLPipeline.from_pretrained("fluently/Fluently-XL-Final", 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.set_adapters("base")
|
40 |
|
41 |
repo_pixel = StableDiffusionXLPipeline.from_pretrained("fluently/Fluently-XL-Final", torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
|
42 |
repo_pixel.load_lora_weights("artificialguybr/PixelArtRedmond", adapter_name="base")
|
|
|
36 |
|
37 |
repo_default = StableDiffusionXLPipeline.from_pretrained("fluently/Fluently-XL-Final", 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.set_adapters(["base"], adapter_weights=[0.7])
|
40 |
|
41 |
repo_pixel = StableDiffusionXLPipeline.from_pretrained("fluently/Fluently-XL-Final", torch_dtype=torch.float16, use_safetensors=True, add_watermarker=False)
|
42 |
repo_pixel.load_lora_weights("artificialguybr/PixelArtRedmond", adapter_name="base")
|