akki2825 commited on
Commit
0c9415b
·
verified ·
1 Parent(s): 820ab2f

fix mismatched sentences

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -85,6 +85,7 @@ def process_files(reference_file, hypothesis_file):
85
 
86
  wer_value = calculate_wer(reference_text, hypothesis_text)
87
  cer_value = calculate_cer(reference_text, hypothesis_text)
 
88
 
89
  return {
90
  "WER": wer_value,
 
85
 
86
  wer_value = calculate_wer(reference_text, hypothesis_text)
87
  cer_value = calculate_cer(reference_text, hypothesis_text)
88
+ mismatched_sentences = get_mismatched_sentences(reference_text, hypothesis_text)
89
 
90
  return {
91
  "WER": wer_value,