Tried TTS with Larynx

This commit is contained in:
Mathieu B 2021-08-01 09:58:05 +02:00
parent 3f64aa6659
commit b8a17164f8
2 changed files with 7 additions and 2 deletions

View File

@ -6,5 +6,8 @@
"CLIENT_URL": "http://127.0.0.1:5001", "CLIENT_URL": "http://127.0.0.1:5001",
"TRAIN_ON_START": false, "TRAIN_ON_START": false,
"SPOTIFY_CLIENT_ID": "!secret SPOTIFY_CLIENT_ID", "SPOTIFY_CLIENT_ID": "!secret SPOTIFY_CLIENT_ID",
"SPOTIFY_CLIENT_SECRET": "!secret SPOTIFY_CLIENT_SECRET" "SPOTIFY_CLIENT_SECRET": "!secret SPOTIFY_CLIENT_SECRET",
"LARYNX_VOICE": "siwis-glow_tts",
"LARYNX_QUALITY": "low",
"LARYNX_DENOISER_STRENGTH": 0.01
} }

View File

@ -4,7 +4,7 @@ from jarvis.skills import intent_manager
from jarvis.skills.entertainement.jokes import JokesSkill from jarvis.skills.entertainement.jokes import JokesSkill
from jarvis.skills.entertainement.spotify import SpotifySkill from jarvis.skills.entertainement.spotify import SpotifySkill
from jarvis.skills.research.wikipedia import WikipediaSkill from jarvis.skills.research.wikipedia import WikipediaSkill
from jarvis.utils import languages_utils, flask_utils from jarvis.utils import languages_utils, flask_utils, client_utils
if __name__ == '__main__': if __name__ == '__main__':
# Load lingua franca in the memory # Load lingua franca in the memory
@ -26,5 +26,7 @@ if __name__ == '__main__':
# intent_manager.recognise("coupe la musique") # WORKING # intent_manager.recognise("coupe la musique") # WORKING
# intent_manager.recognise("c'est quoi le nom de cette chanson ?") # WORKING # intent_manager.recognise("c'est quoi le nom de cette chanson ?") # WORKING
client_utils.speak("Abonnez-vous pour d'autres vidéos de ce type et lâchez un pouce bleu ça fait toujours plaisir. ", "medium")
# Start the flask server # Start the flask server
flask_utils.start_server() flask_utils.start_server()