None1145 commited on
Commit
f85fe9d
·
verified ·
1 Parent(s): 91ed7e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def compare_csv_files():
30
  overall_summary = f"""
31
  <h3>Overall Comparison:</h3>
32
  <p>Average WordErrorRate Difference (excluding large diffs): {f'1.5 is stronger ({0 - avg_word_diff:.8f})' if avg_word_diff < 0 else f'1.4 is stronger ({avg_word_diff:.8f})'}</p>
33
- <p>Average CharacterErrorRate Difference (excluding large diffs): {f'1.5 is stronger ({0 - avg_word_diff:.8f})' if avg_char_diff < 0 else f'1.4 is stronger ({avg_word_diff:.8f})'}</p>
34
  """
35
 
36
  result = merged_df[[
 
30
  overall_summary = f"""
31
  <h3>Overall Comparison:</h3>
32
  <p>Average WordErrorRate Difference (excluding large diffs): {f'1.5 is stronger ({0 - avg_word_diff:.8f})' if avg_word_diff < 0 else f'1.4 is stronger ({avg_word_diff:.8f})'}</p>
33
+ <p>Average CharacterErrorRate Difference (excluding large diffs): {f'1.5 is stronger ({0 - avg_char_diff:.8f})' if avg_char_diff < 0 else f'1.4 is stronger ({avg_char_diff:.8f})'}</p>
34
  """
35
 
36
  result = merged_df[[