Spaces:
Sleeping
Sleeping
Commit History
-
Fix PDF download: convert bytearray to bytes for Streamlit
fpdf2's output() returns bytearray which Streamlit's download_button does not accept. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>4d50a3e
-
Add Tier 1 improvements: Risk Score, KPIs, PDF, Demo Samples
Feature 1 - Consolidated Risk Score (0-100): Weighted score from synthetic, playback, reading, whispers, pauses, wake words. Color-coded banner (green/yellow/red). Feature 2 - Demo Audio Samples: 3 pre-generated TTS demos (clean, reading fraud, coaching fraud) built at Docker build time via gTTS. "Try a Demo" selector in UI. Feature 3 - Dashboard KPIs: Tests Analyzed, Fraud Rate %, Unique Voices, Alerts Today displayed at top of Analyzer tab. Feature 4 - PDF Report Export: Professional downloadable PDF with risk score, speaker summary, detection flags table, alert details. Uses fpdf2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>3bafd90