Al1Abdullah commited on
Commit
602e279
·
verified ·
1 Parent(s): d9f3078

Create utils.py

Browse files
Files changed (1) hide show
  1. src/utils.py +9 -0
src/utils.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import yaml
3
+
4
+
5
+ def load_config():
6
+ with open('./config.yaml', 'r') as f:
7
+ config = yaml.safe_load(f)
8
+
9
+ return config