diff --git a/modules/sd_detect.py b/modules/sd_detect.py index 0ceee93da..52d32f113 100644 --- a/modules/sd_detect.py +++ b/modules/sd_detect.py @@ -84,7 +84,7 @@ def guess_by_name(fn, current_guess): return 'Stable Diffusion 3' elif 'hidream' in fn.lower(): return 'HiDream' - elif 'chroma' in fn.lower(): + elif 'chroma' in fn.lower() and 'xl' not in fn.lower(): return 'Chroma' elif 'flux' in fn.lower() or 'flex.1' in fn.lower(): size = round(os.path.getsize(fn) / 1024 / 1024) if os.path.isfile(fn) else 0