Update webui.py

This commit is contained in:
OedoSoldier
2023-12-22 00:30:21 +08:00
committed by GitHub
parent 98f5917ac9
commit 3090f5837d

View File

@@ -219,6 +219,8 @@ def process_auto(text):
if sentence == "": if sentence == "":
continue continue
temp_text.append(sentence) temp_text.append(sentence)
if lang == "ja":
lang = "jp"
temp_lang.append(lang.upper()) temp_lang.append(lang.upper())
_text.append(temp_text) _text.append(temp_text)
_lang.append(temp_lang) _lang.append(temp_lang)