"""
html += f"""{("✅ Congrats!" if sentence_similarity >= 0.65 else "❌ Sorry!")} These sentences have {100*sentence_similarity}% similarity."""
html += """
Hover over a word from either sentence to see which other tokens are mapped to it.
"""
for token in tokens[0]:
html += f"""{' ' if token[0] == ' ' else ''}{token[1:] if token[0] == ' ' else token}"""
html += """
"""
for token in tokens[1]:
html += f"""{' ' if token[0] == ' ' else ''}{token[1:] if token[0] == ' ' else token}"""
html += """
"""
html += """
"""
st.html(html)