Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 812 Bytes
adcd7fa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ---
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.
|