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>
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>
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>
Refresh status every 60s only, shorten synth log, update log before audio, and isolate repaint regions.
Co-authored-by: Cursor <cursoragent@cursor.com>
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>
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>