el-el-san commited on
Commit
11d6379
1 Parent(s): ec8be94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -11
app.py CHANGED
@@ -15,20 +15,18 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
15
  #vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
16
 
17
  #pipe = StableDiffusionXLPipeline.from_pretrained(
18
- # "yodayo-ai/holodayo-xl-2.1",
19
- # vae=vae,
20
- # torch_dtype=torch.float16,
 
 
 
21
  #)
22
- pipe = StableDiffusionXLPipeline.from_pretrained(
23
- #"yodayo-ai/clandestine-xl-1.0",
24
- "el-el-san/illustriousPencilXL_v110",
25
- torch_dtype=torch.float16,
26
  use_safetensors=True,
27
- custom_pipeline="lpw_stable_diffusion_xl",
28
- add_watermarker=False #,
29
- #variant="fp16"
30
  )
31
-
32
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
33
  pipe.to(device)
34
 
 
15
  #vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
16
 
17
  #pipe = StableDiffusionXLPipeline.from_pretrained(
18
+ # #"yodayo-ai/clandestine-xl-1.0",
19
+ # torch_dtype=torch.float16,
20
+ # use_safetensors=True,
21
+ # custom_pipeline="lpw_stable_diffusion_xl",
22
+ # add_watermarker=False #,
23
+ # #variant="fp16"
24
  #)
25
+ pipe = StableDiffusionXLPipeline.from_single_file(
26
+ "https://huggingface.co/Laxhar/noob_sdxl_v_pred/resolve/main/noob-xl-v-pred-test-v2.safetensors",
 
 
27
  use_safetensors=True,
28
+ torch_dtype=torch.float16,
 
 
29
  )
 
30
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
31
  pipe.to(device)
32