teven commited on
Commit
5628a45
·
1 Parent(s): ddfdd4f

removed prints

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -59,11 +59,6 @@ def visualization(path_data, lang, num_docs, num_docs_for_words):
59
 
60
  bad_word_file = st.sidebar.file_uploader("Upload your own list of bad words (1 word per line)")
61
 
62
- st.session_state.old_bad_word_file = None
63
- if bad_word_file != st.write(st.session_state.old_bad_word_file):
64
- recalculate_bad_words(bad_word_file)
65
- st.session_state.old_bad_word_file = bad_word_file
66
-
67
  if "bad_%" in columns:
68
  bad_ratio = st.sidebar.slider(
69
  "% filtered by badwords ratio", 0.0, 50.0, 0.0, step=0.1
 
59
 
60
  bad_word_file = st.sidebar.file_uploader("Upload your own list of bad words (1 word per line)")
61
 
 
 
 
 
 
62
  if "bad_%" in columns:
63
  bad_ratio = st.sidebar.slider(
64
  "% filtered by badwords ratio", 0.0, 50.0, 0.0, step=0.1