Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fixed the script directory

sshah22982be5b237fbd
diff --git a/studio/backend/utils/models/model_config.py b/studio/backend/utils/models/model_config.py
index cadefa6edeb..ef8ebf5d4e1 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: