tykiww commited on
Commit
bc8a3a6
·
verified ·
1 Parent(s): 39edde9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(config_path, '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):
 
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):