1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: Add azur_lane_jp model to ModelProxyFactory

This commit is contained in:
LmeSzinc 2025-01-17 22:57:43 +08:00
parent 35fbc03212
commit 96a365f8ea

View File

@ -171,7 +171,7 @@ class ModelProxy:
class ModelProxyFactory:
def __getattribute__(self, __name: str) -> ModelProxy:
if __name in ["azur_lane", "cnocr", "jp", "tw"]:
if __name in ["azur_lane", "cnocr", "jp", "tw", "azur_lane_jp"]:
if ModelProxy.client is None:
ModelProxy.init(address=State.deploy_config.OcrClientAddress)
return ModelProxy(lang=__name)