Menyu commited on
Commit
4b8dc70
·
verified ·
1 Parent(s): 4a4507a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ MAX_IMAGE_SIZE = 4096
226
 
227
  if torch.cuda.is_available():
228
  vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
229
- pipe = StableDiffusionXLPipeline.from_single_file(
230
  "https://huggingface.co/bluepen5805/illustrious_pencil-XL/illustrious_pencil-XL-v2.0.0.safetensors",
231
  vae=vae,
232
  use_safetensors=True,
 
226
 
227
  if torch.cuda.is_available():
228
  vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
229
+ pipe = AutoPipelineForText2Image.from_single_file(
230
  "https://huggingface.co/bluepen5805/illustrious_pencil-XL/illustrious_pencil-XL-v2.0.0.safetensors",
231
  vae=vae,
232
  use_safetensors=True,