Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,9 @@ def create_args():
|
|
11 |
self.debug = False
|
12 |
self.ssl = False
|
13 |
self.url_prefix = ""
|
14 |
-
self.load_only = DEFARGS['LOAD_ONLY']
|
|
|
|
|
15 |
# Set any other defaults you need
|
16 |
|
17 |
return Args()
|
|
|
11 |
self.debug = False
|
12 |
self.ssl = False
|
13 |
self.url_prefix = ""
|
14 |
+
self.load_only = DEFARGS['LOAD_ONLY'] # Initialize with default value
|
15 |
+
self.update_models = DEFARGS.get('UPDATE_MODELS', False) # Initialize with default value
|
16 |
+
self.force_update_models = DEFARGS.get('FORCE_UPDATE_MODELS', False)# Initialize with default value
|
17 |
# Set any other defaults you need
|
18 |
|
19 |
return Args()
|