Spaces:
Paused
Paused
Malina
Claude Fable 5.1
v0.90: scoped single-use tokens, hardened link fetch, 45-minute cap, whole-video digest, one classification call, no OCR
1d697a7 Download tests/test_lang.py from NextNeural/NINA: direct link, hf CLI and curl.
- Browser
- Download file 636 Bytes
-
https://huggingface.co/spaces/NextNeural/NINA/resolve/main/tests/test_lang.py
- Command line
-
hf download hf://spaces/NextNeural/NINA/tests/test_lang.py
-
curl -L -o test_lang.py https://huggingface.co/spaces/NextNeural/NINA/resolve/main/tests/test_lang.py
636 Bytes
| import pytest | |
| from lang import detect_language | |
| from utils import fmt_time | |
| def test_detect(text, lang): | |
| assert detect_language(text).lower().startswith(lang.lower()[:3]) | |
| def test_fmt_time(secs, out): | |
| assert fmt_time(secs) == out | |