From 82be5b237fbd4bac983b4bacc1e6d278254b806e Mon Sep 17 00:00:00 2001 From: sshah229 Date: Thu, 12 Feb 2026 21:55:36 -0700 Subject: [PATCH] fixed the script directory --- studio/backend/utils/models/model_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/studio/backend/utils/models/model_config.py b/studio/backend/utils/models/model_config.py index cadefa6ede..ef8ebf5d4e 100644 --- a/studio/backend/utils/models/model_config.py +++ b/studio/backend/utils/models/model_config.py @@ -526,8 +526,8 @@ def load_model_defaults(model_name: str) -> Dict[str, Any]: """ try: # Get the script directory to locate configs - script_dir = Path(__file__).parent.parent - defaults_dir = script_dir / "configs" / "model_defaults" + script_dir = Path(__file__).parent.parent.parent + defaults_dir = script_dir / "assets" / "configs" / "model_defaults" # First, check if model is in the mapping if model_name in _REVERSE_MODEL_MAPPING: