Commit Graph

18 Commits

Author SHA1 Message Date
dekun 4255cf7cd7 Fix Gradio 4.x Audio compatibility on server
Only pass show_download_button and show_share_button when the installed Gradio Audio component supports them, fixing PM2 startup TypeError.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 18:40:19 +08:00
dekun bdc63c04df Add voice history, default preset voice, and one-click tab
Keep synthesized wav files browsable with playback and download, default to preset steady male voice, show one-click pipeline as the first tab, and reduce post-synthesis UI flicker.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 18:37:53 +08:00
dekun 7c50b13c57 Fix TTS synthesis UI stuck on loading state
Enable Gradio queue, immediate pending feedback, segment progress, and gr.update for Audio so long syntheses show logs and playback correctly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 18:02:34 +08:00
dekun 97c11e08e0 Reduce post-synthesis UI flicker by removing 1s status timer.
Refresh status every 60s only, shorten synth log, update log before audio, and isolate repaint regions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 17:46:03 +08:00
dekun 038e00fbcf Use vertical pipeline layout after polish to fix cramped UI.
Stack steps in full-width cards, compact voice grid, and guide user to Step 3 after polish.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 17:39:13 +08:00
dekun 131cbf070a Fix voice selector white screen on dark mobile UI.
Replace Dropdown with styled Radio and add dark-theme CSS for select lists.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 17:32:56 +08:00
dekun eb71e28427 Add local GPU preset voices with dropdown selection.
Generate ChatTTS sample_random_speaker presets without cloud APIs; choose clone or preset in synthesize UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 17:28:17 +08:00
dekun 82f99c0b89 Fix ChatTTS Corrupt input data by correcting speaker params.
Use spk_smp plus txt_smp for voice clone instead of mis-encoding into spk_emb; migrate legacy speaker_emb.pt and improve error hints.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 16:41:23 +08:00
dekun f36056d293 Add TTS markdown sanitization and expand deployment docs.
Strip Markdown and stage directions before ChatTTS synthesis with chunked long scripts; document model pre-download, server-update, and microphone HTTPS notes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 16:31:06 +08:00
dekun 984f2e03a4 Add mobile microphone HTTPS hints and Permissions-Policy header.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 15:11:31 +08:00
dekun 90e77f8f70 Move reverse proxy docs to PWA_NPS.md for NPS setup; remove bundled nginx config.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 15:04:43 +08:00
dekun 21400700c5 Add HTTPS reverse proxy guide and PNG icons for real PWA install.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 15:00:15 +08:00
dekun 7e65349878 Optimize tablet load: defer health check, lighten service worker, drop Google Fonts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:49:58 +08:00
dekun f0bb40c605 Fix hint visibility and add PWA install button with one-click prompt.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:30:57 +08:00
dekun 3a0dff87bf Center responsive layout and add PWA install support for mobile, tablet, and desktop.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:25:57 +08:00
dekun e11caa59ab Improve UI contrast: high-visibility theme and status cards.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:20:05 +08:00
dekun fc96f834a0 Fix Gradio 6.0 theme/css warning and refresh speaker status after lock.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:17:26 +08:00
dekun 5e95d3af2f Initial commit: add Trading Studio voice-over pipeline for quant trading review videos.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 13:19:44 +08:00