aboutsummaryrefslogtreecommitdiff
path: root/app/__init__.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-10 12:25:30 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-10 12:25:30 +0530
commit4b48546cea6c894d735f6c9e9d271f4f6a15a57e (patch)
tree281b44444a0b23be780ef2cff82e30a5665ae0f3 /app/__init__.py
parent2f0d88120f358afd9f2780eaadf1eaf82a681a0b (diff)
updated Readme to tell about config.ini
Also, moved away from hard-coding tfWorking value
Diffstat (limited to 'app/__init__.py')
-rw-r--r--app/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/__init__.py b/app/__init__.py
index b405e40..1b2171c 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -12,6 +12,12 @@ DB_NAME = config['DATABASE']['NAME']
UPLOAD_FOLDER = config['FILES']['UPLOAD_FOLDER']
LOG_FOLDER = config['FILES']['LOG_FOLDER']
INSTANT_EXEC = config['EXECUTION']['INSTANT']
+LSTM = config['FEATURES']['LSTM']
+
+if LSTM == 'True':
+ LSTM = True
+else:
+ LSTM = False
if INSTANT_EXEC == 'True':
INSTANT_EXEC = True