|
Download README.md from tutator/ASTRA: direct link, hf CLI and curl.
- Browser
- Download file 1.99 kB
-
https://huggingface.co/spaces/tutator/ASTRA/resolve/main/README.md
- Command line
-
hf download hf://spaces/tutator/ASTRA/README.md
-
curl -L -o README.md https://huggingface.co/spaces/tutator/ASTRA/resolve/main/README.md
1.99 kB
| title: ASTRA | |
| emoji: ⚡ | |
| colorFrom: purple | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 6.14.0 | |
| python_version: '3.12' | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| short_description: Speech to text testing for ASTRA | |
| # ASTRA — Serbian STT bake-off | |
| Private Space for the ASTRA team (Anti Trafficking Action, Belgrade) to evaluate | |
| Whisper variants on Serbian audio. Hosted by Foundation Tutator. | |
| ## What this is | |
| A side-by-side test rig for Whisper-family speech-to-text models on Serbian | |
| dictation samples. Upload or record audio, pick a model, see the transcript | |
| in Cyrillic, Latin, or both. Use the same audio across models to compare. | |
| ## Why | |
| ASTRA's caseworkers will dictate post-call notes into the next-generation | |
| helpline tool. The bake-off informs which Whisper model the production | |
| deployment should ship with — see design decision DD-006 in the project repo. | |
| The recognition all runs on Hugging Face's GPU. Cyrillic ↔ Latin transliteration | |
| is post-hoc (via `cyrtranslit`) — the underlying recognition is whatever the | |
| model produced, the script toggle just changes how it's displayed. | |
| ## Hardware | |
| Configured for **ZeroGPU** (HF PRO required on the owner account). Free CPU | |
| tier will work for `whisper-small` but is too slow for the large variants. | |
| Set the hardware in the Space settings UI. | |
| ## Updating models | |
| Edit `MODELS` in `app.py` to add/remove choices in the dropdown. Restart the | |
| Space after pushing changes. | |
| ## Access control | |
| The Space is **public on HF** (so it appears in search) but the Gradio app | |
| itself is **password-gated**. Set credentials as Space Secrets: | |
| - `SPACE_USER` + `SPACE_PASS` — single shared credential (simplest), or | |
| - `SPACE_AUTH` — JSON array `[{"user": "alice", "pass": "..."}, ...]` for | |
| per-person credentials. | |
| Set these at: https://huggingface.co/spaces/tutator/ASTRA/settings → Variables | |
| and secrets → New secret. | |
| Without any auth env vars the app launches unprotected — useful for local dev, | |
| not for production. | |