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
-
NINA v0.91 — 5-part retrieval + accuracy upgrade
Malina +1: Claude Sonnet 4.61. MaxSim retrieval (utils.py, retrieval.py) Store per-segment embeddings in each chunk (seg_embs). Bi-encoder scores via max cosine over segments instead of dot against the averaged embedding — a multi-topic chunk now surfaces if any single segment matches the query. 2. Adaptive chunking threshold (retrieval.py) Compute mean/std of consecutive segment similarities before the split loop. threshold = clip(mean − 0.5·std, 0.30, 0.62) — calibrates to each video's content dynamics rather than using the fixed 0.45 constant. 3. Segment-level cross-encoder scoring (retrieval.py) For chunks >120 words, score each segment individually against the query and take the max logit. Prevents silent truncation at the 512-token limit from hiding relevant content in the second half of long chunks. 4. Confidence-gated synthesis context (synthesis.py) Split regions into strong (conf ≥ 0.45) and context (below) before sending to the LLM. Context blocks are labelled separa…8aa6bb8
-
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