Commit Graph

21 Commits

Author SHA1 Message Date
dekun 0cce6cda7c Fix CUDA OOM by mutually unloading Whisper and ChatTTS on 8GB GPU.
Release GPU memory before TTS/ASR switches, lower TTS token limits, and set PYTORCH_CUDA_ALLOC_CONF in PM2.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 17:03:37 +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 0f5277c22e Add Whisper offline loading for air-gapped servers.
Pre-download via HF mirror scripts so inner-network deploys avoid Hub Network is unreachable errors.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 16:11:57 +08:00
dekun 39e29fe6a9 Load mobile audio via ffmpeg to avoid librosa PySoundFile warnings.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 16:05:55 +08:00
dekun aacdffac77 Fix ChatTTS load: pre-download via HF mirror, avoid GitHub timeout.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 15:16:27 +08:00
dekun 1ab1ede1b5 Fix PWA_NPS.md section numbering.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 15:11:55 +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 1d00c36cd3 Add server-update.sh for force sync when CRLF causes git pull conflicts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:55:31 +08:00
dekun aea39a00ae Support .env for server-local Ollama config to avoid git pull conflicts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:53:47 +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 4a4f40fac4 Improve deploy.sh: fix git sync, CN pip mirrors, and pip retry on timeout.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 14:09:38 +08:00
dekun 136fc51f62 Fix deploy.sh CRLF line endings for Linux execution.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 13:37:24 +08:00
dekun b38b821c35 Add one-click deploy script for /opt production setup with PM2.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 13:32:06 +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