From 24d5d652324f029e4facdf5f401310ee1e9664c8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-TVBJISQ\\Primere" Date: Tue, 17 Mar 2026 21:49:45 +0100 Subject: [PATCH] V 2.0.0 - mix --- components/primereserver.py | 2 +- components/utility.py | 4 ++-- terminal_helpers/model_version_cache.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/primereserver.py b/components/primereserver.py index b9e3c07..858ad6d 100644 --- a/components/primereserver.py +++ b/components/primereserver.py @@ -172,7 +172,7 @@ async def primere_modelpaths(request): models_by_path = [] if subdirType != 'styles': - excluded = ['.locks', 'Bjornulf_civitAI', 'depthfm', 'models--xiaozaa--cat-tryoff-flux'] + excluded = ['.locks', 'Bjornulf_civitAI', 'depthfm', 'models--xiaozaa--cat-tryoff-flux', 'SUPIR', 'Refiners'] allSource = folder_paths.get_filename_list(subdirType) for Source in allSource: if "\\" in Source: diff --git a/components/utility.py b/components/utility.py index c7dd608..80b5be2 100644 --- a/components/utility.py +++ b/components/utility.py @@ -52,9 +52,9 @@ VALID_SHAPES = np.arange(256, 4096, 256).tolist() # PREVIEW_ROOT = os.path.join(comfy_dir, "web", "extensions", "PrimerePreviews", "images") PREVIEW_ROOT = os.path.join(here, 'front_end', "images") KEYWORD_SELECTOR_VALUES = ["None", "Select in order", "Random select"] -SUPPORTED_MODELS = ["SD1", "SD2", "SDXL", "Illustrious", "SD3", "StableCascade", "Chroma", "Z-Image", "Turbo", "Flux", "Nunchaku", "QwenGen", "QwenEdit", "WanImg", "KwaiKolors", "Hunyuan", "Playground", "Pony", "LCM", "Lightning", "Hyper", "PixartSigma", "SANA1024", "SANA512", "AuraFlow", "HiDream", "Mochi", "WanT2V", "WanI2V", "Cosmos", "Flux2", "SSD", "SegmindVega", "KOALA", "StableZero", "SV3D", "SD09", "StableAudio"] +SUPPORTED_MODELS = ["SD1", "SD2", "SDXL", "Illustrious", "SD3", "StableCascade", "Chroma", "Z-Image", "Turbo", "Flux", "Nunchaku", "QwenGen", "QwenEdit", "WanImg", "KwaiKolors", "Hunyuan", "Playground", "Pony", "LCM", "Lightning", "Hyper", "PixartSigma", "SANA1024", "SANA512", "AuraFlow", "HiDream", "Mochi", "WanT2V", "WanI2V", "Cosmos", "Flux2", "SSD", "SegmindVega", "KOALA", "StableZero", "SV3D", "SD09", "StableAudio", 'LTXV'] CONCEPT_RESOLUTIONS = { - "512": ['SD09', 'SD1', "Turbo", "SANA512", "WanT2V", "WanI2V"], + "512": ['SD09', 'SD1', "Turbo", "SANA512", "WanT2V", "WanI2V", 'LTXV'], "768": ['SD2', "LCM"], "1024": ["SDXL", "Illustrious", "SD3", "StableCascade", "Chroma", "Z-Image", "Flux", "KwaiKolors", "Hunyuan", "Playground", "Pony", "Lightning", "Hyper", "PixartSigma", "SANA1024", "WanImg", "AuraFlow", "HiDream", "Mochi", "Cosmos", "Flux2"], "1328": ["QwenGen", "QwenEdit"], diff --git a/terminal_helpers/model_version_cache.py b/terminal_helpers/model_version_cache.py index c3414bb..2526dd6 100644 --- a/terminal_helpers/model_version_cache.py +++ b/terminal_helpers/model_version_cache.py @@ -14,7 +14,7 @@ sys.path.append(components_path) import utility -EXCLUDED_SUBDIRS = {'.locks', 'Bjornulf_civitAI', 'depthfm', 'models--xiaozaa--cat-tryoff-flux'} +EXCLUDED_SUBDIRS = {'.locks', 'Bjornulf_civitAI', 'depthfm', 'models--xiaozaa--cat-tryoff-flux', 'SUPIR', 'Refiners'} def match_supported(name): name_lower = name.lower()