Spaces:
Runtime error
Runtime error
Commit
·
d3f9927
1
Parent(s):
d9f2adf
minor update to slider range
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def main():
|
|
59 |
cols = st.columns(3)
|
60 |
with cols[0]:
|
61 |
min_topic_size = st.slider('Minimum topic size', key='min_topic_size', min_value=2,
|
62 |
-
max_value=round(len(data)*0.25), step=1, value=min(round(len(data)/25), 10),
|
63 |
help='The minimum size of the topic. Increasing this value will lead to a lower number of clusters/topics.')
|
64 |
with cols[1]:
|
65 |
n_gram_range = st.slider('N-gram range', key='n_gram_range', min_value=1,
|
|
|
59 |
cols = st.columns(3)
|
60 |
with cols[0]:
|
61 |
min_topic_size = st.slider('Minimum topic size', key='min_topic_size', min_value=2,
|
62 |
+
max_value=min(round(len(data)*0.25), 100), step=1, value=min(round(len(data)/25), 10),
|
63 |
help='The minimum size of the topic. Increasing this value will lead to a lower number of clusters/topics.')
|
64 |
with cols[1]:
|
65 |
n_gram_range = st.slider('N-gram range', key='n_gram_range', min_value=1,
|