update code

This commit is contained in:
Artiprocher
2025-11-17 10:41:11 +08:00
parent ea0a5c5908
commit 47246060d6
24 changed files with 1828 additions and 22 deletions

View File

@@ -77,7 +77,7 @@ class ModelPool:
print(f"Loaded model: {json.dumps(model_info, indent=4)}")
loaded = True
if not loaded:
raise ValueError(f"Cannot detect the model type. File: {path}")
raise ValueError(f"Cannot detect the model type. File: {path}. Model hash: {model_hash}.")
def fetch_model(self, model_name, index=None):
fetched_models = []