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/conftest.py from NextNeural/NINA: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/spaces/NextNeural/NINA/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/NextNeural/NINA/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/NextNeural/NINA/resolve/main/tests/conftest.py
330 Bytes
| # Tests import only the light modules (auth, lang, fetch's URL check, utils). Nothing | |
| # here loads torch, Whisper or CLIP, so `pytest` finishes in seconds on a laptop. | |
| import os | |
| import sys | |
| os.environ.setdefault("NINA_SIGNING_SECRET", "test-secret") | |
| sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | |