Files
scripts/tts-generator/run_edge_tts.sh

33 lines
740 B
Bash
Executable File

#!/bin/bash
# run_edge_tts.sh
# Author: Descomplicar® Crescimento Digital
# Link: https://descomplicar.pt
# Copyright: 2025 Descomplicar®
# Edge TTS - Solução gratuita e com PT-PT nativo
echo "🇵🇹 Configurando Edge TTS (Gratuito + PT-PT Nativo)"
echo "=" * 55
# Ativar ambiente virtual
if [ ! -d "venv" ]; then
python3 -m venv venv
fi
source venv/bin/activate
# Instalar edge-tts
echo "📦 Instalando edge-tts..."
pip install edge-tts
# Executar
echo "🎙️ Gerando áudio com voz portuguesa nativa..."
python edge_tts_ptpt.py
echo ""
echo "🎧 Ficheiros gerados:"
ls -la *.mp3 | grep edge 2>/dev/null || echo "Nenhum ficheiro encontrado"
echo ""
echo "✅ Edge TTS - 100% gratuito, sem limites, PT-PT autêntico!"