Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 -
|
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[[
|