Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix h2p-parser module import pathing (English pronunciation)
#2
by
Pendrokar
- opened
Had to disable ionite's h2p-parser to get the TTS running.
https://github.com/ionite34/h2p-parser
Without this, in English the TTS will often wrongly pronounce certain words (Heteronyms) like in the following sentence:I read the book. It was a good book to read.
(to red)
The issue relates to Python import paths:
https://huggingface.co/spaces/Pendrokar/xVASynth/blob/main/resources/app/python/xvapitch/text/text_preprocessing.py#L18
h2p_parser module not found
even if the folder is there, so added the module to requirements.txt, but now while it seems to load in, it does not convert ARPAbet properly.