Spaces:
Paused
Paused
Commit History
-
v0.90: scoped single-use tokens, hardened link fetch, 45-minute cap, whole-video digest, one classification call, no OCR
Malina +1: Claude Fable 5.1- auth.py shared with LUNA: scope + iat checks, jti persisted across restarts, TOKEN_REQUIRE_SCOPE - fetch.py: known hosts only, public-address check, no generic extractor, cookies filtered by domain, 240 s deadline, 400 MB cap, temp dirs swept - pipeline: duration cap, every refusal prefixed with the error marker, stage timings, int16 audio cache, ingest locks pruned - chat: one classify call (OFF/ANALYZE/ANSWER), server-side size caps, fixed error sentences, NEED_VIDEO handshake removed - synthesis: whole-transcript digest for summaries; language detector moved to lang.py; fmt_time m:ss / h:mm:ss - visual: seek-based frame sampling past five minutes - OCR removed (rapidocr, onnxruntime, libgl1); yt-dlp pinned; max_file_size at the door; README rewritten - tests: auth, fetch validation, language and time formatting (55) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1d697a7
-
Brak sekretu to odmowa, nie przepustka
verify_usage_token zwracalo True, kiedy NINA_SIGNING_SECRET nie byl ustawiony. Zalozenie bylo takie, ze nieskonfigurowany Space to Space deweloperski. W praktyce oznacza to, ze jeden zapomniany sekret zamienia publiczny Space w darmowy, nielimitowany endpoint modelu, i nie zostawia po sobie ani jednej linii w logach. LUNA stala otworem dokladnie z tego powodu. Teraz pusty sekret to odmowa, oglaszana przy starcie. Przy okazji: przyklad API w README wskazywal na stary identyfikator Space'a. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>857c67b
-
NINA v0.81 — modular refactor + usage-token gate + 8-vCPU queue
Malina +1: Claude Opus 4.7- Split monolith into app.py + pipeline/audio/auth/cache/config/models/retrieval/ synthesis/utils/visual modules. - auth.verify_usage_token: HMAC (NINA_SIGNING_SECRET) + expiry + single-use; pipeline.run() refuses without a valid Worker-issued token (per-account 10/5h limit enforced server-side; the public Space can't be used directly). - run() takes a 3rd `token` input; Interface queue tuned for ~8 vCPU (concurrency 3, max 40); uploaded-media purge kept (delete_cache 5 min). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>05f095d