CanYing0913 commited on
Commit
2b83043
1 Parent(s): 2d29c14

Fix reference filepath to package files

Browse files

Former-commit-id: 82c3e2dd55ac836ed59622c1c5d0188a350c1b0e

Files changed (1) hide show
  1. srt_util/srt.py +1 -1
srt_util/srt.py CHANGED
@@ -368,7 +368,7 @@ class SrtScript(object):
368
  ## force term correction
369
  logging.info("performing force term correction")
370
  # load term dictionary
371
- with open("../finetune_data/dict_enzh.csv", 'r', encoding='utf-8') as f:
372
  term_enzh_dict = {rows[0]: rows[1] for rows in reader(f)}
373
 
374
  keywords = list(term_enzh_dict.keys())
 
368
  ## force term correction
369
  logging.info("performing force term correction")
370
  # load term dictionary
371
+ with open("finetune_data/dict_enzh.csv", 'r', encoding='utf-8') as f:
372
  term_enzh_dict = {rows[0]: rows[1] for rows in reader(f)}
373
 
374
  keywords = list(term_enzh_dict.keys())