aadnk commited on
Commit
83796fa
2 Parent(s): a8eb534 4a46425

Merge branch 'main' of https://huggingface.co/spaces/aadnk/whisper-webui into main

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", [])