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.

add build.sh

Roland Tannous2b04c0da400d
diff --git a/build.sh b/build.sh
new file mode 100644
index 00000000000..4948a73ae4d
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+# 1. Build frontend (Vite outputs to dist/)
+cd studio/frontend
+npm install
+npm run build # outputs to studio/frontend/dist/
+cd ../..
+
+# 2. Clean old artifacts
+rm -rf build dist *.egg-info
+
+# 3. Build wheel
+python -m build
+
+# 4. Optionally publish
+if [ "${1:-}" = "publish" ]; then
+ python -m twine upload dist/*
+fi