Spaces:
Paused
Paused
Commit History
-
Deploy asr_system e078375
NarratifAI deploy276d1c3
-
Accept resumable Companion uploads with atomic job deduplication
01864c7
-
Recover Paystack purchases and return retryable fulfillment failures
0bf932b -
Deploy asr_system 4f6c67f
NarratifAI deploya690be2
-
Deploy asr_system c98b787
NarratifAI deploy65b8f9a
-
Deploy asr_system f6a9200
NarratifAI deploy4a3d42c -
Deploy asr_system a4adcfa
NarratifAI deployb5e5993 -
Deploy asr_system 55cb03d
NarratifAI deploy69d3d07
-
Deploy asr_system 83be68a
NarratifAI deploy85d0497
-
Deploy asr_system decaaac
NarratifAI deploy6d21dfe -
Deploy asr_system e92f3eb
NarratifAI deployb8de33e
-
Nigerian language + English priced like the language alone; source revision bfdebd6
751c735 -
Auto-detect Yoruba/Hausa probe; one-speaker handling; source revision e98e60e
172f7f2 -
Decide English by both models' readings; tone-mark guard; source revision c64a5fa
2f73c0e -
Cut native-model pieces at speaker turns; source revision 794177e
8b77e62 -
Voice check per sentence; short English phrases kept in English; source revision a8bd243
65a5dfa -
Google Play Billing for Android credit packs; source revision a392e63
1e3b725 -
Remove sensitive log content; source revision 1e84b02
Verified signatureef3cc8a -
Use verified durable account deletion and check retention cleanup responses
Verified signature687f9bf
-
Mixed meetings: whole sections for Whisper, sentence pieces only for the dedicated models
f5406c5 -
Pieces never join across a pause; fragments attach to the sentence before them
525a9b4 -
Dedicated models: one piece per sentence (they drop what follows the first sentence)
2e9d9e5 -
Clean-up only deletes Whisper filler: never long sentences, unusual content or other-language segments
a497b09 -
Yoruba/Igbo/Hausa models transcribe sentence-sized pieces (no dropped words, real segment times); mixed meetings likewise
9a6fc9f -
Language switching: whole-sequence labelling with a switch cost, only languages with real evidence, merge looped repeats
83a30c7 -
Meetings that switch language: per-window language ID, smoothed runs, each language transcribed by its own model; segments tagged with language
7dc7029
-
Translation priced by length: 1 credit per 400 characters, minimum 5
8ef2cd2 -
Translation: Sonnet 5.5 (Haiku's Yoruba was unusable), accept fenced JSON, parallel 2.5k-char batches
a2d9884 -
Transcript translation: /translate (authenticated, 5 credits, cached per owner, segment-count checked)
bb8d56d -
Timestamps line up with the original recording (add back trimmed leading silence)
41b4ddd -
Auto-detect across all app languages with a small prior for English, Yoruba, Hausa
0e4f7a9 -
Dedicated NCAIR models for Yoruba, Igbo and Hausa (falls back to large-v3 if a model can't load; NATIVE_ASR=0 disables)
a4135ca -
App Review sandbox purchases for allow-listed accounts; ConsulMeet notetaker service identity; fail and refund jobs orphaned by a restart
4fb0550 -
Auto-detect language once per recording, limited to English, Yoruba, Hausa, French
Whisper guessed the language per 30 s window from ~99 languages, so Nigerian English/Pidgin/Yoruba recordings came back as unrelated languages.add97e3 -
Deploy VAPT authentication, ownership, billing and admission controls
Verified signature3993434
-
Custom credit amounts; Paystack webhook refuses unsigned events
- credits_for_naira: smallest pack's rate, bigger packs' rates once reached (pack prices give exactly the pack's credits); NGN 500 to 500,000 - /credits/packs returns the custom rule and iPhone presets; /credits/quote - /paystack/init accepts amount_ngn; webhook credits from the amount paid - Apple preset products ngn1000/ngn2500/ngn7500/ngn20000 - Webhook no longer skips the signature check when the secret is unset Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>e33c1f9 -
Apple in-app purchase: /credits/apple and /apple/notifications
StoreKit 2 signed transactions are verified against Apple Root CA - G3 (src/apple_iap.py). Each transaction is credited once, only to the account whose appAccountToken it carries. Sandbox purchases are recorded as NGN 0. Refund/revoke notifications take the credits back. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>07f9ba9 -
Refuse transcription for accounts without a profile (one account per email)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>68c20c9 -
Staff endpoints need the portal 2FA session; platform switches; jobs record submitter
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>b732ab0 -
Store submitted_at; purge job rows after 7 days
9496b0b -
Add /account/delete: verified-token account data deletion
c8fe1a2 -
Staff credit tools: POST /credits/admin-grant and GET /credits/admin-ledger/{uid}
Verified Firebase token + active admin_staff row required. Grants are recorded in the ledger as admin_grant with the staff email in the note. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>fb3984d
-
Credits: server-side packs, balance checks, charge on success, Paystack credit purchases
- GET /credits/packs (single source of truth: Starter 100/NGN1,500, Standard 350/4,500, Pro 1,000/12,000, Business 3,000/33,000); 1 credit/min, 2 on whisper-large-v3, speakers included, 5 per minutes doc - /transcribe checks the balance against the probed audio length (402 with needed/balance when short); jobs are charged only when they succeed, idempotently per job id via apply_credits(); failed/cancelled = free - /minutes and /minutes/docx charge 5 credits once per transcript - Paystack: /paystack/init accepts pack_id (price set server-side), webhook credits the pack on charge.success after checking the amount; legacy subscription path kept - Firebase ID token verification (google-auth); falls back to the body uid for shipped app versions, logged, to be enforced later - Complimentary accounts and still-active legacy subscriptions are unlimited Requires supabase/migrations/20261009_credits.sql (until it runs, nobody is charged: balances can't be read). Co-Authored-By: …ec0c85f -
Cut serving costs: Claude returns only corrected lines; short idle windows with keep-alive
- Clean-up prompt now returns only changed/hallucinated segments (unchanged ones keep their text). Measured on the council meeting: output tokens 298 -> 38 per audio minute, cost per minute -69%. - While any job runs the server pings its own public URL every 4 min, so hosts that sleep on no traffic don't stop a job when clients stop polling. That allows short idle windows: HF Space sleep 1 h -> 10 min, Modal scaledown 60 min -> 15 min (idle GPU was the largest serving cost). - Log Claude token usage per clean-up batch. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1325c64 -
Let users cancel a transcription midway
POST /cancel/{job_id} marks the job cancelled (in Supabase, so it works across Modal containers). The running job checks between 5-minute blocks, stops, and discards its work; /status reports cancelled and /result returns 410. Tested: cancel at block 1 freed the GPU within ~40 s. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>2c36551 -
Add read-only GET /status/{job_id} for background checkers
/result deletes the job once it returns the transcript, so the mobile app's background service could not use it to decide when to notify the user without consuming the result. /status reports processing/done/error/ not_found and never deletes anything. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>e784831 -
Run Claude transcript-cleanup batches concurrently
An hour-long meeting is ~30 batches of 30 segments; sent one after another they added several minutes to every long job. Batches are independent, so they now go 6 at a time, with output order, hallucination stripping and per-batch failure fallback unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>cd5aaf7 -
Make 30-60 min recordings transcribe reliably and accurately
- Long jobs no longer fail at the end over a 'repetition loop': loops are removed segment by segment and sentence by sentence instead of rejecting the whole transcript (real meetings repeat phrases like 'all in favour') - Stop feeding the previous chunk's text as a prompt (Whisper echoed it) - 5 min blocks decoded in batched 30 s windows on GPU; greedy decoding for long audio. 25 min meeting: ~19 min -> ~3-5 min; 60 min: ~19 min on T4 - Join overlapping blocks by matching text, with a 35 s overlap; removed the duplicated/dropped speech at every block boundary - Per-job model selection under a lock, unload unused models, per-model batch sizes (large-v3 previously OOM'd the T4) - Diarization: clear error when the token lacks access, in-memory audio, device/timing logs - Report processing_time for long files Tested: 25.6 min council meeting (6 speakers) and a 60.4 min two-speaker recording with known script: 5.65% WER, full coverage, no gaps. Co-Authored-By: Claude Opus 5.5 …eb4ae44
-
Sync all bug fixes from asr_system: orphaned job detection, urllib→requests, import time, stuck-job guard 60min, diarization preload
2678e3b
-
Fix hallucination: large-v3 default + anti-hallucination params + min_speakers=2
Verified signature7cf7b12