Spaces:
Sleeping
Sleeping
Commit History
-
Add Trends tab with analytics charts and Coming Soon sections
- Risk Score Over Time: line chart with green/yellow/red zones - Fraud Type Distribution: stacked bar chart by day - Voice Reuse Patterns: top 10 voices bar chart with color coding - KPI summary: total tests, avg risk, high risk %, recurring voices - Coming Soon: Batch Analysis and Webhook/API Integration with impact Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>5b529ce -
Fix bytearray crash in voiceprint matching
SQLAlchemy LargeBinary returns bytearray, but np.frombuffer requires bytes. Wrap with bytes() before calling np.frombuffer. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>231585e -
Add Tier 2: Comparison View tab and Alert Rules Engine
- New "Compare" tab: side-by-side test comparison with risk scores, detection flags, speaker summary, shared voice detection, and grouped bar chart breakdown - Alert Rules Engine in sidebar: configurable thresholds for risk score, synthetic voice %, max pause duration, speaker count, and recurring voice appearances - Triggered alerts shown in results when rules are violated - DB methods: get_all_tests() and get_test_results() for comparison data Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>f565754
-
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 -
Fix permission denied: store models/data outside /app mount
HF Spaces mounts repo content over /app/ at runtime, overwriting Docker build-time permissions. Move model downloads to /home/user/models/ and data storage to /home/user/data/ which persist from build. All source files now use MODEL_DIR and DATA_DIR env vars for path resolution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9109931
-
Add SOP Audio Analyzer app files
- Full Streamlit app with audio analysis - SpeechBrain VAD, diarization, voiceprint - Fraud detection modules - Database modelsebba35f