asad231 commited on
Commit
129f79a
Β·
verified Β·
1 Parent(s): aa04eaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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)