use correct key name from yaml

This commit is contained in:
maryhipp 2024-03-08 15:45:45 -05:00 committed by Brandon
parent df0a5aa92a
commit a50e0a4802

View File

@ -321,7 +321,7 @@ class ModelInstallService(ModelInstallServiceBase):
model_path = self._app_config.models_path / model_path
model_path = model_path.resolve()
description = stanza.get("description", "")
config_path =stanza.get("config_path", "")
config_path =stanza.get("config", "")
model_info = {"name": model_name, "description": description, "config_path": config_path}
try: