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:
parent
35fbc03212
commit
96a365f8ea
@ -171,7 +171,7 @@ class ModelProxy:
|
|||||||
|
|
||||||
class ModelProxyFactory:
|
class ModelProxyFactory:
|
||||||
def __getattribute__(self, __name: str) -> ModelProxy:
|
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:
|
if ModelProxy.client is None:
|
||||||
ModelProxy.init(address=State.deploy_config.OcrClientAddress)
|
ModelProxy.init(address=State.deploy_config.OcrClientAddress)
|
||||||
return ModelProxy(lang=__name)
|
return ModelProxy(lang=__name)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user