Parcourir la source

add ML_MODELS_DIR to .env

highing666 il y a 3 ans
Parent
commit
446ee66680
2 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 2 0
      .env_pro
  2. 1 1
      app/core/config.py

+ 2 - 0
.env_pro

@@ -9,6 +9,8 @@ TENCENT_SECRET_KEY_V1="1pNfgBDzW6TeZGrGWWGn68sypQk9QSDh"
 
 DUCKLING_HOST="http://171.17.11.173:8000"
 
+ML_MODELS_DIR="/app/ml_models/"
+
 PROJECT_NAME="saga_algo_api"
 
 POSTGRES_SERVER="172.17.11.173:5432"

+ 1 - 1
app/core/config.py

@@ -32,7 +32,7 @@ class Settings(BaseSettings):
     # PROJECT_DIR: DirectoryPath
     # LOGS_DIR: DirectoryPath
 
-    # ML_MODELS_DIR: DirectoryPath
+    ML_MODELS_DIR: DirectoryPath
 
     PROJECT_NAME: str