chore(ml): added testing and github workflow (#2969)

* added testing

* github action for python, made mypy happy

* formatted with black

* minor fixes and styling

* test model cache

* cache test dependencies

* narrowed model cache tests

* moved endpoint tests to their own class

* cleaned up fixtures

* formatting

* removed unused dep
This commit is contained in:
Mert 2023-06-27 19:21:33 -04:00 committed by GitHub
parent 5e3bdc76b2
commit df1e8679d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 622 additions and 95 deletions

View file

@ -18,6 +18,7 @@ class Settings(BaseSettings):
port: int = 3003
workers: int = 1
min_face_score: float = 0.7
test_full: bool = False
class Config(BaseSettings.Config):
env_prefix = "MACHINE_LEARNING_"