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
-
Film bez sciezki dzwiekowej przestaje wywracac cala analizeβ
Malina +1: Claude Opus 5 (1M context)Kontener bez audio wysadzal odczyt: PyAV rzuca IndexError w srodku faster_whisper, kiedy prosi o strumien audio numer 0 w pliku, ktory go nie ma. Wyjatek szedl do slownika i ginal, a uzytkownik dostawal "Error reading video." w jedna sekunde. Zmierzone na zwyklym H.264 bez audio: kazda analiza takiego pliku konczyla sie tak samo, czyli nagranie ekranu bez narracji, najbardziej naturalny przypadek uzycia dla tego narzedzia, nie dzialalo w ogole. Brak dzwieku to teraz cisza, a nie blad: load_audio zwraca pusta fale, Whisper nie jest w ogole wolany, a synteza idzie sciezka wizualna, ktora ten kod od poczatku deklarowal ("No speech is fine"). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>3b71b6c
-
NINA: anti-hallucination ASR + honest low-confidence handling (Phase 1)β
Malina +1: Claude Opus 4.8On noisy/musical/distorted audio Whisper fabricates fluent nonsense, and the LLM was reporting it as fact. Now: - transcribe_fast gets hallucination guards (no_speech/log_prob/compression-ratio thresholds, condition_on_previous_text=False) and records no_speech_prob + compression_ratio per segment - transcript_reliability() scores the transcript; an unreliable one (poor mean logprob / mostly weak / mostly no-speech) is flagged - synthesis: when unreliable, the system prompt tells the model the audio is hard to make out and to say so plainly instead of inventing meaning for garbled text Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>6acd603 -
NINA v0.82 β upload compression, natural multilingual answers, robust preciseβ
Malina +1: Claude Opus 4.8- compress.py + pipeline guard: reject uploads >200 MB, ffmpeg-downscale anything >20 MB to 720p before decode (faster, smaller) - synthesis: detect the prompt language (langdetect + diacritic fallback) and answer in it; natural prose + a final "Sources:" line; auto-sized length - precise re-transcription: loosen logprob gate -0.55 β -0.40 so it actually fires on weak audio; never crash (graceful fallback if the model can't load) - app.py: drop benign ClientDisconnect tracebacks from upload aborts Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>0695bec
-
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