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.

fix: correct project root depth in model_config.py vision check

Roland Tannousf7a3092cbd31
diff --git a/studio/backend/utils/models/model_config.py b/studio/backend/utils/models/model_config.py
index 7c6469e7ecb..e7b92651be3 100644
--- a/studio/backend/utils/models/model_config.py
+++ b/studio/backend/utils/models/model_config.py
@@ -377,7 +377,7 @@ _VLM_MODEL_TYPES = {
}
# Pre-computed project root and .venv_t5 path for subprocess version switching.
-_PROJECT_ROOT = str(Path(__file__).resolve().parent.parent.parent.parent)
+_PROJECT_ROOT = str(Path(__file__).resolve().parent.parent.parent.parent.parent)
_VENV_T5_DIR = os.path.join(_PROJECT_ROOT, ".venv_t5")
_BACKEND_DIR = os.path.join(_PROJECT_ROOT, "studio", "backend")