Update number of tags to clusters in
Browse filesunsupervised_page_bertopic and
unsupervised_page_keybert
- 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
|
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
|
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 == "":
|