Text-to-Speech
Safetensors
English
Chinese

How can I solved the error with tn module?

#9
by Kenctoshi - opened

When I run: ken@KendeMac-mini MegaTTS3 % python3 tts/gradio_api.py,
I got:


Traceback (most recent call last):
File "/Users/ken/Documents/dev/jinse/MegaTTS3/tts/gradio_api.py", line 21, in
from tts.infer_cli import MegaTTS3DiTInfer, convert_to_wav, cut_wav
File "/Users/ken/Documents/dev/jinse/MegaTTS3/tts/infer_cli.py", line 22, in
from tn.chinese.normalizer import Normalizer as ZhNormalizer
ModuleNotFoundError: No module named 'tn'


I couldn't find any code with the tn and the error still comes out even I have installed "pip3 install text-normalizer".

Sign up or log in to comment