Fix: Update ocr model name

This commit is contained in:
LmeSzinc 2023-09-12 18:39:23 +08:00
parent 710e8d42df
commit d3eef2cd24
3 changed files with 3 additions and 2 deletions

View File

@ -33,6 +33,7 @@ class DailyQuestOcr(Ocr):
result = result.replace(";", "")
result = result.replace("", "")
result = result.replace("宇审", "宇宙")
result = result.replace("凝带", "凝滞")
# 进行中」hbadarin
if "进行中" in result:
result = "进行中"

View File

@ -28,7 +28,7 @@ class RogueCurioOcr(Ocr):
def after_process(self, result):
result = super().after_process(result)
if self.lang == 'ch':
if self.lang == 'cn':
replace_pattern_dict = {
"": "",
"漂灭": "湮灭",

View File

@ -10,7 +10,7 @@ from tasks.rogue.keywords import *
class RogueBonusOcr(Ocr):
def after_process(self, result):
result = super().after_process(result)
if self.lang == 'ch':
if self.lang == 'cn':
replace_pattern_dict = {
"[宇宝][宙审]": "宇宙",
}