Update default_pipeline.py (#525)

This commit is contained in:
lllyasviel
2023-10-03 15:30:49 -07:00
committed by GitHub
parent 7d48ecee32
commit 80632d5eb3
-3
View File
@@ -89,9 +89,6 @@ def refresh_refiner_model(name):
xl_refiner = core.load_unet_only(filename) xl_refiner = core.load_unet_only(filename)
xl_refiner_hash = model_hash xl_refiner_hash = model_hash
print(f'Refiner model loaded: {model_hash}') print(f'Refiner model loaded: {model_hash}')
# Remove VAE
xl_refiner.vae = None
return return