marks commited on
Commit ·
3058f90
1
Parent(s): 8660783
Fixed no description
Browse files122 unmodified lines123124125126127128129122 unmodified linesvoices = elevenlabs.voices()return [(voice.voice_id,f"{voice.name} - {voice.description[:50]}...") for voice in voices]except Exception as e:logger.error("Failed to fetch voices from ElevenLabs", exc_info=True)122 unmodified lines123124125126127128129122 unmodified linesvoices = elevenlabs.voices()return [(voice.voice_id,f"{voice.name} - {voice.description[:50] + '...' if voice.description else ''}") for voice in voices]except Exception as e:logger.error("Failed to fetch voices from ElevenLabs", exc_info=True)
api_clients.py+1-1