Irpan commited on
Commit
56a90e5
1 Parent(s): 6eb8cb9
Files changed (1) hide show
  1. util.py +1 -1
util.py CHANGED
@@ -120,7 +120,7 @@ def calculate_pronunciation_accuracy(reference_text, output_text, script_choice)
120
  pronunciation_accuracy = match_ratio * 100
121
 
122
  # Generate Markdown-compatible styled text
123
- comparison_md = "<h4>Pronunciation Feedback</h4>\n" # Small header
124
  comparison_md += "<div style='margin-top: 10px;'>\n" # Add some spacing
125
  for opcode, i1, i2, j1, j2 in matcher.get_opcodes():
126
  ref_segment = reference_ipa[i1:i2]
 
120
  pronunciation_accuracy = match_ratio * 100
121
 
122
  # Generate Markdown-compatible styled text
123
+ comparison_md = "<h4>Pronunciation Feedback (mistakes in red)</h4>\n" # Small header
124
  comparison_md += "<div style='margin-top: 10px;'>\n" # Add some spacing
125
  for opcode, i1, i2, j1, j2 in matcher.get_opcodes():
126
  ref_segment = reference_ipa[i1:i2]