From dcdb0614bf7fc29fe560969324478c29928b1695 Mon Sep 17 00:00:00 2001 From: Arcitec <38923130+Arcitec@users.noreply.github.com> Date: Mon, 8 Sep 2025 17:04:19 +0200 Subject: [PATCH] fix: Use WeTextProcessing on Linux, and wetext on other platforms --- indextts/utils/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indextts/utils/front.py b/indextts/utils/front.py index e6c2e44..bc7262c 100644 --- a/indextts/utils/front.py +++ b/indextts/utils/front.py @@ -91,7 +91,7 @@ class TextNormalizer: import platform if self.zh_normalizer is not None and self.en_normalizer is not None: return - if platform.system() == "Darwin": + if platform.system() != "Linux": # Mac and Windows from wetext import Normalizer self.zh_normalizer = Normalizer(remove_erhua=False, lang="zh", operator="tn")