Python
workaround for tm
DeepBeepMeepff6c1bb281f8
diff --git a/models/TTS/index_tts2/utils/front.py b/models/TTS/index_tts2/utils/front.pyindex a7f06b0..dc7b0ea 100644--- a/models/TTS/index_tts2/utils/front.py+++ b/models/TTS/index_tts2/utils/front.py@@ -118,7 +118,7 @@ class TextNormalizer:import platformif self.zh_normalizer is not None and self.en_normalizer is not None:return- if platform.system() != "Linux": # Mac and Windows+ if platform.system() != "Linux" or True: # Mac and Windowsfrom wetext import Normalizerself.zh_normalizer = Normalizer(remove_erhua=False, lang="zh", operator="tn")