This commit is contained in:
Oleg Petruny 2025-02-21 21:54:37 +01:00
parent 803af429b3
commit 67e9eb8dfb
3 changed files with 9 additions and 9 deletions

View File

@ -5,8 +5,8 @@ from TTS.api import TTS
device = "cuda" if torch.cuda.is_available() else "cpu"
tts = TTS("tts_models/multilingual/multi-dataset/bark").to(device)
tts.tts_to_file(text="Greetings Martin. This is a synthesized speech for future dialogues. \
As you can see [cough] I mean hear... Yes, hear with your own ears, the speech trained from 2min audio is indeed impressive.",
tts.tts_to_file(text="Greetings Nikolay. How is your mother? I didn't saw it after that incident. \
[cough] Thought you making good at school. And stop laming feed in Dota you garbage.",
voice_dir=".\\voices\\",
speaker="Test",
file_path=".\\output\\Test.wav")
speaker="Mortis",
file_path=".\\output\\Mortis.wav")

View File

@ -101,9 +101,9 @@ if (-not (Is-PythonInstalled)) {
Install-Python
}
Setup-Python-Environment
Install-Espeakng
Install-MsBuildTools
Install-CUDA
#Install-Espeakng
#Install-MsBuildTools
#Install-CUDA
Install-PyTorch
Install-Coqui
mkdir output

BIN
VoiceGenerator/voices/Mortis/Mortis.wav (Stored with Git LFS)

Binary file not shown.