Update app.py
Browse files
app.py
CHANGED
|
@@ -222,9 +222,10 @@ for substring in remove_overlapping(common_substrings):
|
|
| 222 |
highlighted_sentence = highlighted_sentence.replace(substring, colored(substring, 'white', 'on_blue'))
|
| 223 |
highlighted_text.append(substring)
|
| 224 |
|
| 225 |
-
st.markdown(
|
|
|
|
| 226 |
for substring in highlighted_text:
|
| 227 |
-
st.
|
| 228 |
|
| 229 |
st.markdown(("\nHighlighted Main Sentence:")
|
| 230 |
st.markdown(highlighted_sentence)
|
|
|
|
| 222 |
highlighted_sentence = highlighted_sentence.replace(substring, colored(substring, 'white', 'on_blue'))
|
| 223 |
highlighted_text.append(substring)
|
| 224 |
|
| 225 |
+
st.markdown("Common substrings that occur in all five lists:")
|
| 226 |
+
|
| 227 |
for substring in highlighted_text:
|
| 228 |
+
st.write(substring)
|
| 229 |
|
| 230 |
st.markdown(("\nHighlighted Main Sentence:")
|
| 231 |
st.markdown(highlighted_sentence)
|