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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Revert "site-packages + dist check"
Roland Tannous0e0325127d76
diff --git a/studio/setup.sh b/studio/setup.shindex f1475b7c8a9..dacf64564a5 100755--- a/studio/setup.sh+++ b/studio/setup.sh@@ -41,13 +41,10 @@ if [[ "$keynames" == *$'\nCOLAB_'* ]]; thenfi# ── Detect whether frontend needs building ──-# Only skip when BOTH conditions are true:-# 1. We're inside site-packages (PyPI / pip install, not editable)-# 2. dist/ already exists (pre-built in the wheel)-# Otherwise always (re)build — handles upgrades, editable installs, and-# pip-from-source where dist/ was never built.-if [[ "$SCRIPT_DIR" == */site-packages/* ]] && [ -d "$SCRIPT_DIR/frontend/dist" ]; then- echo "✅ Frontend pre-built (PyPI) — skipping Node/npm check."+# Just check if dist/ already exists — no need to guess install mode.+# Source is always present (include-package-data = true), only dist/ may be missing.+if [ -d "$SCRIPT_DIR/frontend/dist" ]; then+ echo "✅ Frontend already built — skipping Node/npm check."elseNEED_NODE=trueif command -v node &>/dev/null && command -v npm &>/dev/null; then