Added AI Disabled mode

This commit is contained in:
2021-11-18 21:51:50 +01:00
parent 549768f1d1
commit 8ad70772dc
3 changed files with 32 additions and 10 deletions

View File

@ -32,3 +32,5 @@ SVM_MODEL_ID = os.environ.get("SVM_MODEL_ID")
API_URL = os.environ.get("API_URL", "http://localhost:8080")
REPORT_URL = os.environ.get("REPORT_URL", None)
REPORT_INTERVAL = float(os.environ.get("REPORT_INTERVAL", 15))
DISABLE_AI = os.environ.get("DISABLE_AI").lower() in ['yes', '1', 'true']