teven commited on
Commit
5d392e6
1 Parent(s): c8f45af
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def visualization(path_data, lang, num_docs, num_docs_for_words):
61
 
62
  if "flagged_%" in columns:
63
  flagged_ratio = st.sidebar.slider(
64
- "% filtered by flaggedwords ratio", 0.0, 50.0, 0.0, step=0.1
65
  )
66
  flagged_index = max(0, math.floor((100 - flagged_ratio) * len(data.index) / 100) - 1)
67
  flagged_cutoff = np.partition(data["flagged_%"], flagged_index)[flagged_index]
61
 
62
  if "flagged_%" in columns:
63
  flagged_ratio = st.sidebar.slider(
64
+ "% filtered by flagged words ratio", 0.0, 50.0, 0.0, step=0.1
65
  )
66
  flagged_index = max(0, math.floor((100 - flagged_ratio) * len(data.index) / 100) - 1)
67
  flagged_cutoff = np.partition(data["flagged_%"], flagged_index)[flagged_index]