Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with file: speakers.pth #13

Closed
akirsoft opened this issue Sep 25, 2022 · 4 comments
Closed

Error with file: speakers.pth #13

akirsoft opened this issue Sep 25, 2022 · 4 comments

Comments

@akirsoft
Copy link

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
Copy link
Owner

can you provide code snippet to reproduce?

@akirsoft
Copy link
Author

akirsoft commented Sep 27, 2022

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
Copy link
Author

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
Copy link
Owner

Should be solved now, please reopen if not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants