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

Silero tts not working #90

Open
ducpham611 opened this issue Dec 29, 2023 · 2 comments
Open

Silero tts not working #90

ducpham611 opened this issue Dec 29, 2023 · 2 comments

Comments

@ducpham611
Copy link

I just uncomment the silero tts in run.py and it give me this error. If possible, can you tell me how to fix this, thank you.
Traceback (most recent call last):
File "G:\Test AI Vtuber\AI-Waifu-Vtuber\run.py", line 248, in
record_audio()
File "G:\Test AI Vtuber\AI-Waifu-Vtuber\run.py", line 68, in record_audio
transcribe_audio("input.wav")
File "G:\Test AI Vtuber\AI-Waifu-Vtuber\run.py", line 87, in transcribe_audio
openai_answer()
File "G:\Test AI Vtuber\AI-Waifu-Vtuber\run.py", line 120, in openai_answer
translate_text(message)
File "G:\Test AI Vtuber\AI-Waifu-Vtuber\run.py", line 206, in translate_text
silero_tts(tts_en, "en", "v3_en", "en_21")
File "G:\Test AI Vtuber\AI-Waifu-Vtuber\utils\TTS.py", line 23, in silero_tts
audio_paths = model.save_wav(text=tts,
^^^^^^^^^^^^^^^^^^^^^^^^
File "<torch_package_0>.multi_acc_v3_package.py", line 366, in save_wav
File "<torch_package_0>.multi_acc_v3_package.py", line 316, in apply_tts
File "<torch_package_0>.multi_acc_v3_package.py", line 63, in prepare_tts_model_input
File "<torch_package_0>.multi_acc_v3_package.py", line 91, in process_simple_text
ValueError

@RomiconEZ
Copy link

I have the same problem when using the local English-language model TTS en_v3. Have you found a solution?

@ducpham611
Copy link
Author

ducpham611 commented Apr 14, 2024

@RomiconEZ I haven't found any solution for that. It seems like he hadn't updated this project for a long time. Sorry I couldn't help you anything.

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