python3.9 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Create a .env
file with:
HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
where HF_TOKEN
is your Huggingface Hub token.
python3 -m streamlit run app.py
You will need to provide:
- Name of new repo (required)
- Prodigy license key (required)
- Prodigy username (recommended)
- Prodigy password (recommended)
- Input dataset as
.jsonl
(recommended) - Bash script (
.sh
) (recommended)
When ready, click Create new HF Space
This will create your new app.