From f21f828ab5914638e71b0dbc9e1b02a9bc178256 Mon Sep 17 00:00:00 2001 From: Ilyas Hilali Date: Sun, 5 Jan 2025 14:50:43 +0100 Subject: [PATCH] Add zh:zh in fallbacks as it is present in the preset of language on the main page (first commit was useless:) --- tts_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tts_server.py b/tts_server.py index bd280c2..51b0385 100644 --- a/tts_server.py +++ b/tts_server.py @@ -49,7 +49,7 @@ DetectorFactory.seed = 0 # Ensure deterministic behavior of language detector LANG_FALLBACKS = { "en": "en", "es": "es", "fr": "fr", "de": "de", "it": "it", "pt": "pt", "pl": "pl", "tr": "tr", "ru": "ru", "nl": "nl", - "cs": "cs", "ar": "ar", "zh-cn": "zh", "zh-tw": "zh", "ja": "ja", + "cs": "cs", "ar": "ar", "zh": "zh", "zh-cn": "zh-cn", "ja": "ja", "hu": "hu", "ko": "ko", # Additional fallbacks for unsupported languages