Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,7 +227,7 @@ MAX_IMAGE_SIZE = 4096
|
|
| 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-
|
| 231 |
vae=vae,
|
| 232 |
use_safetensors=True,
|
| 233 |
torch_dtype=torch.float16,
|
|
|
|
| 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-v4.0.0.safetensors",
|
| 231 |
vae=vae,
|
| 232 |
use_safetensors=True,
|
| 233 |
torch_dtype=torch.float16,
|