Harsh502s commited on
Commit
3c37bd7
1 Parent(s): 6bb81d1

Update number of tags to clusters in

Browse files

unsupervised_page_bertopic and
unsupervised_page_keybert

Files changed (1) hide show
  1. Pages/Models.py +2 -2
Pages/Models.py CHANGED
@@ -84,7 +84,7 @@ def unsupervised_page_bertopic():
84
  )
85
  text = clean_text(text)
86
  n = st.number_input(
87
- "Enter number of tags to assign", value=5, key="unsupervised_n_bertopic"
88
  )
89
  if st.button("Assign tags", key="unsupervised_button_bertopic"):
90
  if text == "":
@@ -101,7 +101,7 @@ def unsupervised_page_keybert():
101
  )
102
  text = clean_text(text)
103
  n = st.number_input(
104
- "Enter number of tags to assign", value=5, key="unsupervised_n_keybert"
105
  )
106
  if st.button("Assign tags", key="unsupervised_button_keybert"):
107
  if text == "":
 
84
  )
85
  text = clean_text(text)
86
  n = st.number_input(
87
+ "Enter number of clusters to tag from", value=5, key="unsupervised_n_bertopic"
88
  )
89
  if st.button("Assign tags", key="unsupervised_button_bertopic"):
90
  if text == "":
 
101
  )
102
  text = clean_text(text)
103
  n = st.number_input(
104
+ "Enter number of clusters to tag from", value=5, key="unsupervised_n_keybert"
105
  )
106
  if st.button("Assign tags", key="unsupervised_button_keybert"):
107
  if text == "":