Menyu commited on
Commit
7e69a03
·
verified ·
1 Parent(s): 2c08862

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -247,8 +247,8 @@ MAX_IMAGE_SIZE = 2048
247
 
248
  if torch.cuda.is_available():
249
  # vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
250
- pipe = StableDiffusionXLPipeline.from_pretrained("John6666/wai-nsfw-illustrious-sdxl-v140-sdxl")
251
- pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
252
  pipe.to("cuda")
253
 
254
  def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
 
247
 
248
  if torch.cuda.is_available():
249
  # vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
250
+ pipe = StableDiffusionXLPipeline.from_pretrained("John6666/wai-nsfw-illustrious-sdxl-v140-sdxl",torch_dtype=torch.float16)
251
+ # pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
252
  pipe.to("cuda")
253
 
254
  def randomize_seed_fn(seed: int, randomize_seed: bool) -> int: