Skip to content

Commit

Permalink
part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
benfoley committed Dec 7, 2021
1 parent c1ba72d commit 82bca05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elpis/engines/kaldi/objects/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def background_train_task():
def get_train_results(self):
results = {}
if Path(self.config['run_log_path']).exists():
with self.config['run_log_path'].open() as log_file:
with Path(self.config['run_log_path']).open() as log_file:
wer_lines = []
for line in reversed(list(log_file)):
line = line.rstrip()
Expand Down

0 comments on commit 82bca05

Please sign in to comment.