HugoLaurencon HF staff commited on
Commit
8f0da78
1 Parent(s): b607b76

better visualization

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -431,6 +431,8 @@ class Visualization:
431
  else:
432
  return score < key[1]
433
 
 
 
434
  for key in self.keys:
435
  if key[0] == "number_words":
436
  words = ModifyingDocuments.get_words_from_document(
@@ -511,7 +513,7 @@ class Visualization:
511
  is_discarded = True
512
 
513
  is_discarded = "" if is_discarded else "not "
514
- st.markdown(f"With the current filtering parameters, this document is {is_discarded}discarded.")
515
 
516
  def download_data(self):
517
  st.header("Download data")
 
431
  else:
432
  return score < key[1]
433
 
434
+ st.markdown("Statistics of the document:")
435
+
436
  for key in self.keys:
437
  if key[0] == "number_words":
438
  words = ModifyingDocuments.get_words_from_document(
 
513
  is_discarded = True
514
 
515
  is_discarded = "" if is_discarded else "not "
516
+ st.markdown(f"With the current filtering parameters, this document **is {is_discarded}discarded**.")
517
 
518
  def download_data(self):
519
  st.header("Download data")