🚀 Auto-deploy: BotVPS atualizado em 29/03/2026 00:18:45

This commit is contained in:
2026-03-29 00:18:45 +00:00
parent 3572eb7e63
commit b820f6b5b5

View File

@@ -51,9 +51,10 @@ async def text_to_speech_async(text: str) -> str:
filepath = os.path.join("/tmp", filename)
try:
# Voz Masculina PT-BR: Donato
voice = "pt-BR-DonatoNeural"
communicate = edge_tts.Communicate(texto_limpo, voice, rate="+35%")
# Voz Masculina PT-BR: Antonio (reconhecidamente estável)
voice = "pt-BR-AntonioNeural"
# Rate +30% (muito rápido mas seguro para palavras curtas)
communicate = edge_tts.Communicate(texto_limpo, voice, rate="+30%")
await communicate.save(filepath)
return filename
except Exception as e: