init: scripts diversos (crawlers, conversores, scrapers)
This commit is contained in:
32
tts-generator/run_edge_tts.sh
Executable file
32
tts-generator/run_edge_tts.sh
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/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!"
|
||||
Reference in New Issue
Block a user