Update TTS implementation to fetch available voices from the API and support multiple TTS models: - Add VOICES_API_URL constant for /v1/voices endpoint - Create populateVoiceDropdown() to dynamically populate voice options - Group voices by model using optgroups in the dropdown - Implement voice fetching with localStorage caching (1 minute) - Update speakText() to parse model:voice from dropdown value - Update speakTextQueued() to use dynamic model and voice - Add backward compatibility for legacy voice-only format - Update both desktop and mobile voice selectors - Add fallback to tts-1:onyx if voice fetch fails Voice dropdown now displays all available models (tts-1, tts-1-hd, tts-1-silero, tts-1-kokoro) with their respective voices organized by optgroups for better UX. |
||
|---|---|---|
| .. | ||
| base.html | ||
| chat.html | ||
| index.html | ||
| search.html | ||