Diff of /medicalbert/config.py [000000] .. [d129b2]

Switch to side-by-side view

--- a
+++ b/medicalbert/config.py
@@ -0,0 +1,17 @@
+# We store all the application settings here.
+
+# File locations
+import json
+
+
+def get_configuration(args):
+    with open('default.json') as json_data:
+        conf = json.load(json_data)
+
+    for key, value in vars(args).items():
+        if value:
+            conf[key] = value
+    return conf
+
+
+