robinhad / ukrainian-tts

Ukrainian TTS (text-to-speech) using ESPNET
https://huggingface.co/spaces/robinhad/ukrainian-tts
MIT License
195 stars 17 forks source link

Error with file: speakers.pth #13

Closed akirsoft closed 2 years ago

akirsoft commented 2 years ago

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 2 years ago

can you provide code snippet to reproduce?

akirsoft commented 2 years ago

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 2 years ago

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 2 years ago

Should be solved now, please reopen if not