CoolFace
Apppublic

build-small-hackathon/microfactory-lab

sourceHugging Facemitupdated 3mo agoView on Hugging Face
2likes
pyproject.toml34 linesDownload Raw Back to root
1[project]2name = "chief-engineer"3version = "0.1.0"4description = "A small local model that learns 3D printing job by job and predicts print failures before they happen."5readme = "README.md"6requires-python = ">=3.10"7license = { text = "MIT" }8dependencies = [9    "gradio>=6.17,<7",10    "ollama>=0.4",11    "pydantic>=2.7",12    "trimesh>=4.4",13    "shapely>=2.0",14]15 16# Deploy-only extra for the ZeroGPU live path (mirrors requirements-zerogpu.txt).17# Install locally with:  uv sync --extra zerogpu18[project.optional-dependencies]19zerogpu = [20    "spaces>=0.30",21    "torch>=2.4",22    "transformers>=4.49",23    "accelerate>=0.34",24]25 26# pyproject is the source of truth for deps. requirements.txt is kept in sync by27# hand (only 4 base deps) because the HF Space installs via pip+requirements.txt,28# not uv. If they drift, regenerate:  uv export --no-hashes --no-dev -o requirements.txt29 30# Permissive licenses only. Do NOT add OrcaSlicer/PrusaSlicer (AGPL-3.0).31[tool.chief-engineer]32model_default = "gemma4:e4b"   # = gemma4:latest. gemma4:4b does NOT exist.33model_fast = "gemma4:e2b"34