Error with file: speakers.pth
akirsoft opened this issue · 4 comments
akirsoft commented
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/Soft/Python/mamba1/TTS/vits_mykyta_latest-September-12-2022_12+38AM-829e2c24/speakers.pth'
robinhad commented
can you provide code snippet to reproduce?
akirsoft commented
from ukrainian_tts.tts import TTS, Voices
tts = TTS()
with open("test.wav", mode="wb") as file:
_, text = tts.tts("Привіт, Пол+іна! Сподіваюся, голова вже не болить?" , Voices.Mykyta.value, "dictionary", file)
print("Accented text:", text)
akirsoft commented
I rewrited file json and added my path '/home/user/Soft/Python/mamba1/TTS, but vits_mykyta_latest-September-12-2022_12+38AM-829e2c24/speakers.pth in config.json
robinhad commented
Should be solved now, please reopen if not