Spaces:
Build error
Build error
sdhanabal1
commited on
Commit
•
d7f16a4
1
Parent(s):
1852274
Test html rendering error
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def main() -> None:
|
|
49 |
replaced_text = html.escape(terms_and_conditions_text)
|
50 |
for sentence in summary_sentences:
|
51 |
sentence = html.escape(sentence)
|
52 |
-
replaced_text = replaced_text.replace(sentence,
|
53 |
replaced_text = replaced_text.replace('\n', '<br/>')
|
54 |
with st.container():
|
55 |
st.markdown(replaced_text, unsafe_allow_html=True)
|
|
|
49 |
replaced_text = html.escape(terms_and_conditions_text)
|
50 |
for sentence in summary_sentences:
|
51 |
sentence = html.escape(sentence)
|
52 |
+
replaced_text = replaced_text.replace(sentence, sentence)
|
53 |
replaced_text = replaced_text.replace('\n', '<br/>')
|
54 |
with st.container():
|
55 |
st.markdown(replaced_text, unsafe_allow_html=True)
|