From 15cf68cac0fbb92f7c9707c42d0aa7f102523ecb Mon Sep 17 00:00:00 2001 From: m5kro Date: Fri, 17 Nov 2023 18:58:37 -0800 Subject: [PATCH] Undo Accidental Change --- modules/alltext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/alltext.py b/modules/alltext.py index b33a3ed..62a1d97 100644 --- a/modules/alltext.py +++ b/modules/alltext.py @@ -104,7 +104,7 @@ def translateGPT(t, history, fullPromptFlag): subbedT = varResponse[0] # If there isn't any Japanese in the text just skip - if not re.search(r'[��-�]+|[��-?]+|[�@-��]+|[\uFF00-\uFFEF]', subbedT): + if not re.search(r'[一-龠]+|[ぁ-ゔ]+|[ァ-ヴ]+|[\uFF00-\uFFEF]', subbedT): return (t, 0) # Characters