refactor(mm): continue iterating on config

This commit is contained in:
psychedelicious
2025-09-25 20:08:48 +10:00
parent 7ca0a0a0fd
commit eaddd6f533
18 changed files with 1370 additions and 1118 deletions

View File

@@ -31,7 +31,10 @@ def classify_with_fallback(path: Path, hash_algo: HASHING_ALGORITHMS):
try:
return ModelProbe.probe(path, hash_algo=hash_algo)
except InvalidModelConfigException:
return ModelConfigFactory.from_model_on_disk(mod=path, hash_algo=hash_algo,)
return ModelConfigFactory.from_model_on_disk(
mod=path,
hash_algo=hash_algo,
)
for path in args.model_path: