diff --git a/.moon/workspace.yml b/.moon/workspace.yml index 09951dc..06be989 100644 --- a/.moon/workspace.yml +++ b/.moon/workspace.yml @@ -1,4 +1,5 @@ projects: web: apps/web api: apps/api + ml-service: apps/ml-service shared: packages/shared diff --git a/apps/ml-service/.env.example b/apps/ml-service/.env.example new file mode 100644 index 0000000..92a1721 --- /dev/null +++ b/apps/ml-service/.env.example @@ -0,0 +1,4 @@ +MODEL_PATH=../../Machine_Learning/best_model/best_model.keras +MODEL_INPUT_SIZE=224 +ML_SERVICE_HOST=0.0.0.0 +ML_SERVICE_PORT=8001 diff --git a/apps/ml-service/requirements.txt b/apps/ml-service/requirements.txt new file mode 100644 index 0000000..b4ee069 --- /dev/null +++ b/apps/ml-service/requirements.txt @@ -0,0 +1,5 @@ +fastapi>=0.115.0 +uvicorn[standard]>=0.32.0 +tensorflow>=2.13.0 +pillow>=10.0.0 +python-multipart>=0.0.9