diff --git a/main.py b/main.py index 5d5d2b2..e249d03 100644 --- a/main.py +++ b/main.py @@ -210,8 +210,6 @@ def searchCodes(page, pbar): return tokens def translateGPT(t, history): - global LOCK - # If there isn't any Japanese in the text just return it pattern = r'[一-龠]+|[ぁ-ゔ]+|[ァ-ヴー]+' if not re.search(pattern, t):