模块化裁剪

This commit is contained in:
hejianjun
2022-01-30 22:26:52 +08:00
parent a84452ba1c
commit e1b5d17b05
5 changed files with 53 additions and 50 deletions

View File

@@ -319,15 +319,6 @@ class Config:
return self.conf.get("face", "locations_model")
except:
return "hog"
def face_app_id(self) -> str:
return self.conf.get("face", "appid")
def face_api_key(self) -> str:
return self.conf.get("face", "key")
def face_app_secret(self) -> str:
return self.conf.get("face", "secret")
@staticmethod