--- title: North Mini Code Demo emoji: 💻 colorFrom: blue colorTo: indigo sdk: gradio sdk_version: 6.14.0 python_version: '3.13' app_file: app.py pinned: false --- ## North Mini Code Demo A Gradio Space that streams code from Cohere's [North-Mini-Code-1.0](https://huggingface.co/CohereLabs/North-Mini-Code-1.0) model, executes the generated Python in a constrained subprocess, and renders generated HTML/CSS/JavaScript in a sandboxed browser iframe. North-Mini-Code-1.0 is built for agentic coding and works best in your terminal with [OpenCode](https://opencode.ai). ## Configuration Set `COHERE_API_KEY` as a Hugging Face Space secret. ## Local Run ```bash export COHERE_API_KEY=... uv run python app.py ``` `requirements.txt` is kept for Hugging Face Spaces; `pyproject.toml` is for local uv runs.