Update app.py
Browse files
app.py
CHANGED
@@ -10,12 +10,12 @@ def get_json_cfg():
|
|
10 |
"""Retrieve configuration file"""
|
11 |
|
12 |
config_path = os.getenv('CONFIG_PATH')
|
13 |
-
with open(
|
14 |
config = json.load(file)
|
15 |
|
16 |
return config
|
17 |
|
18 |
-
|
19 |
dirname = ' '.join(os.listdir())
|
20 |
|
21 |
def greet(model_name, prompt_template, name):
|
|
|
10 |
"""Retrieve configuration file"""
|
11 |
|
12 |
config_path = os.getenv('CONFIG_PATH')
|
13 |
+
with open('config/config.yaml', 'r') as file:
|
14 |
config = json.load(file)
|
15 |
|
16 |
return config
|
17 |
|
18 |
+
print(get_json_cfg())
|
19 |
dirname = ' '.join(os.listdir())
|
20 |
|
21 |
def greet(model_name, prompt_template, name):
|