Update app.py
Browse files
app.py
CHANGED
|
@@ -302,18 +302,16 @@ with st.form(key='columns_in_form'):
|
|
| 302 |
# Summarize the findings for all models
|
| 303 |
show_length_graph()
|
| 304 |
|
| 305 |
-
|
| 306 |
-
The National Covid-19 Preparedness Plan will require additional funding from Congress . A major new part of the plan includes a new "Test to Treat" initiative that President Joe Biden announced during his State of the Union address Tuesday night . The administration will continue to make hundreds of millions of high-quality masks available to Americans .
|
| 307 |
-
Hawaii Gov. David Ige announced that the state's travel quarantine and Safe Travels Hawaii program will end on March 25 . The Safe Travels program applies only to domestic arrivals . International arrivals must still follow federal requirements (see below). The state's mask mandate remains in place for now . Unvaccinated travelers from abroad are no longer allowed, with limited exceptions . Americans are still allowed to travel to Hawaii, regardless of vaccination status . All restrictions on intercounty travel have been lifted, meaning no pre-travel testing or quarantining is needed for travel between the Hawaiian islands . """
|
| 308 |
|
| 309 |
st.subheader("Issues: ")
|
| 310 |
st.write("Repetition:")
|
| 311 |
-
rep_check = check_for_word_and_word(text)
|
| 312 |
if rep_check is not None:
|
| 313 |
st.write(f"Following phrases repeat: {rep_check}")
|
| 314 |
-
found_index = text.find(rep_check)
|
| 315 |
st.write("Sample:")
|
| 316 |
-
st.write(f"{text[found_index-
|
| 317 |
else:
|
| 318 |
st.write("No repetition detected.")
|
| 319 |
|
|
|
|
| 302 |
# Summarize the findings for all models
|
| 303 |
show_length_graph()
|
| 304 |
|
| 305 |
+
|
|
|
|
|
|
|
| 306 |
|
| 307 |
st.subheader("Issues: ")
|
| 308 |
st.write("Repetition:")
|
| 309 |
+
rep_check = check_for_word_and_word(digestor.text)
|
| 310 |
if rep_check is not None:
|
| 311 |
st.write(f"Following phrases repeat: {rep_check}")
|
| 312 |
+
found_index = digestor.text.find(rep_check)
|
| 313 |
st.write("Sample:")
|
| 314 |
+
st.write(f"{text[found_index-40:found_index+40]}")
|
| 315 |
else:
|
| 316 |
st.write("No repetition detected.")
|
| 317 |
|