aadnk commited on
Commit
4a46425
1 Parent(s): 43189ac

Load config file using UTF-8

Browse files
Files changed (1) hide show
  1. src/config.py +1 -1
src/config.py CHANGED
@@ -137,7 +137,7 @@ class ApplicationConfig:
137
  def parse_file(config_path: str):
138
  import json5
139
 
140
- with open(config_path, "r") as f:
141
  # Load using json5
142
  data = json5.load(f)
143
  data_models = data.pop("models", [])
 
137
  def parse_file(config_path: str):
138
  import json5
139
 
140
+ with open(config_path, "r", encoding="utf-8") as f:
141
  # Load using json5
142
  data = json5.load(f)
143
  data_models = data.pop("models", [])