diff --git a/modules/core.py b/modules/core.py index 18bc45c02..a65fd7625 100644 --- a/modules/core.py +++ b/modules/core.py @@ -267,7 +267,8 @@ def preview_function(x0, step, total_steps): if taesd is None and not is_sdxl: from latent_preview import TAESD, TAESDPreviewerImpl - taesd_decoder_path = os.path.abspath(os.path.realpath(os.path.join("models", "vae_approx", latent_format.taesd_decoder_name))) + from modules.path import vae_approx_path + taesd_decoder_path = os.path.join(vae_approx_path, latent_format.taesd_decoder_name) if not os.path.exists(taesd_decoder_path): print(f"Warning: TAESD previews enabled, but could not find {taesd_decoder_path}") diff --git a/update_log_mre.md b/update_log_mre.md index ceb1a13d0..39a5d76b1 100644 --- a/update_log_mre.md +++ b/update_log_mre.md @@ -2,6 +2,7 @@ * Added Style Iterator. * Removed meta tensor usage. +* Fixed loading TAESD decoder for SD from custom path. ### 2.0.78.4 MRE