Skip to content

Commit

Permalink
base config
Browse files Browse the repository at this point in the history
  • Loading branch information
pbcquoc committed Nov 12, 2021
1 parent f0d24a3 commit 488b1d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file removed vietocr/tool/.predictor.py.swp
Binary file not shown.
4 changes: 2 additions & 2 deletions vietocr/tool/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def __init__(self, config_dict):

@staticmethod
def load_config_from_file(fname):
base_config = download_config(url_config['base'])

#base_config = download_config(url_config['base'])
base_config = {}
with open(fname, encoding='utf-8') as f:
config = yaml.safe_load(f)
base_config.update(config)
Expand Down

0 comments on commit 488b1d1

Please sign in to comment.