KingNish commited on
Commit
135a7f4
·
verified ·
1 Parent(s): 84e750d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -23
app.py CHANGED
@@ -24,29 +24,6 @@ pipe_best.load_lora_weights("KingNish/Better-Image-XL-Lora", weight_name="exampl
24
  pipe_best.set_adapters(["lora","dalle"], adapter_weights=[1.5, 0.7])
25
  pipe_best.to("cuda")
26
 
27
- pipe_ori = StableDiffusionXLPipeline.from_pretrained(repo, torch_dtype=torch.float16, vae=vae)
28
- pipe_ori.load_lora_weights("RalFinger/origami-style-sdxl-lora", weight_name="ral-orgmi-sdxl.safetensors", adapter_name="origami")
29
- pipe_ori.set_adapters(["origami"], adapter_weights=[2])
30
- pipe_ori.to("cuda")
31
-
32
- pipe_3D = StableDiffusionXLPipeline.from_pretrained(repo, torch_dtype=torch.float16, vae=vae)
33
- pipe_3D.load_lora_weights("artificialguybr/3DRedmond-V1", weight_name="3DRedmond-3DRenderStyle-3DRenderAF.safetensors", adapter_name="dalle2")
34
- pipe_3D.load_lora_weights("goofyai/3d_render_style_xl", weight_name="3d_render_style_xl.safetensors", adapter_name="dalle1")
35
- pipe_3D.set_adapters(["dalle2","dalle1"], adapter_weights=[1.1, 0.8])
36
- pipe_3D.to("cuda")
37
-
38
- pipe_pixel = StableDiffusionXLPipeline.from_pretrained(repo, torch_dtype=torch.float16, vae=vae)
39
- pipe_pixel.load_lora_weights("artificialguybr/PixelArtRedmond", weight_name="PixelArtRedmond-Lite64.safetensors", adapter_name="lora")
40
- pipe_pixel.load_lora_weights("nerijs/pixel-art-xl", weight_name="pixel-art-xl.safetensors", adapter_name="pixel")
41
- pipe_pixel.set_adapters(["lora", "pixel"], adapter_weights=[1.0, 1.2])
42
- pipe_pixel.to("cuda")
43
-
44
- pipe_logo = StableDiffusionXLPipeline.from_pretrained(repo, torch_dtype=torch.float16, vae=vae)
45
- pipe_logo.load_lora_weights("artificialguybr/StickersRedmond", weight_name="StickersRedmond.safetensors", adapter_name="lora")
46
- pipe_logo.load_lora_weights("artificialguybr/LogoRedmond-LogoLoraForSDXL", weight_name="LogoRedmond_LogoRedAF.safetensors", adapter_name="pixel")
47
- pipe_logo.set_adapters(["lora", "pixel"], adapter_weights=[0.5, 1.2])
48
- pipe_logo.to("cuda")
49
-
50
  help_text = """
51
  To optimize image results:
52
  - Adjust the **Image CFG weight** if the image isn't changing enough or is changing too much. Lower it to allow bigger changes, or raise it to preserve original details.
 
24
  pipe_best.set_adapters(["lora","dalle"], adapter_weights=[1.5, 0.7])
25
  pipe_best.to("cuda")
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  help_text = """
28
  To optimize image results:
29
  - Adjust the **Image CFG weight** if the image isn't changing enough or is changing too much. Lower it to allow bigger changes, or raise it to preserve original details.