Update app.py
Browse files
app.py
CHANGED
@@ -273,7 +273,10 @@ def check_manual_facts(text):
|
|
273 |
return fact_check_db.get(text_lower, None)
|
274 |
|
275 |
if st.button("Check News"):
|
276 |
-
st.write("π Processing...")
|
|
|
|
|
|
|
277 |
|
278 |
# Check if the news is in the fact-check database
|
279 |
manual_result = check_manual_facts(news_input)
|
|
|
273 |
return fact_check_db.get(text_lower, None)
|
274 |
|
275 |
if st.button("Check News"):
|
276 |
+
# st.write("π Processing...")
|
277 |
+
loading_placeholder = st.empty()
|
278 |
+
with loading_placeholder:
|
279 |
+
st.markdown("<div style='text-align: center;'>π Processing...</div>", unsafe_allow_html=True)
|
280 |
|
281 |
# Check if the news is in the fact-check database
|
282 |
manual_result = check_manual_facts(news_input)
|