Skip to content

Commit e62d3f0

Browse files
feat(app): better error message for failed model probe
- Old: No valid config found - New: Unable to determine model type
1 parent 757ecdb commit e62d3f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/backend/model_manager/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def classify(mod: str | Path | ModelOnDisk, hash_algo: HASHING_ALGORITHMS = "bla
187187
else:
188188
return config_cls.from_model_on_disk(mod, **overrides)
189189

190-
raise InvalidModelConfigException("No valid config found")
190+
raise InvalidModelConfigException("Unable to determine model type")
191191

192192
@classmethod
193193
def get_tag(cls) -> Tag:

0 commit comments

Comments
 (0)