Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
| 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,
|