Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
13 |
MAX_IMAGE_SIZE = 4096
|
14 |
|
15 |
if torch.cuda.is_available():
|
16 |
-
|
17 |
-
vae = AutoencoderKL.from_pretrained("https://huggingface.co/scrapware/personal-backup/resolve/main/bakedvae/anyloraCheckpoint_bakedvaeTwinkleFp16.safetensors", torch_dtype=torch.float16)
|
18 |
|
19 |
pipe = AutoPipelineForText2Image.from_pretrained(
|
20 |
"John6666/noobai-xl-nai-xl-epsilonpred10version-sdxl",
|
|
|
13 |
MAX_IMAGE_SIZE = 4096
|
14 |
|
15 |
if torch.cuda.is_available():
|
16 |
+
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
17 |
+
#vae = AutoencoderKL.from_pretrained("https://huggingface.co/scrapware/personal-backup/resolve/main/bakedvae/anyloraCheckpoint_bakedvaeTwinkleFp16.safetensors", torch_dtype=torch.float16)
|
18 |
|
19 |
pipe = AutoPipelineForText2Image.from_pretrained(
|
20 |
"John6666/noobai-xl-nai-xl-epsilonpred10version-sdxl",
|