- Create a venv using
uv venv - Activate it afterwards using the printed command
- Run
uv sync --extra dev
There is a second .env file inside workbench/workbench/_api/.env that needs to be created.
Inside it, make sure you've set up:
NDIF_API_KEYwhich you can get at https://ndif.us/WORKBENCH_DIRpointing to the project locationHF_TOKENfor accessing HuggingFace gated models
You'll also need to set up the root .env file. Clone the .env.template to the project root to get started.
Now, run the frontend and backend together, with:
- bash ./scripts/web.sh
- bash ./scripts/api.sh