Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -367,14 +367,6 @@ if uploaded_file is not None:
|
|
367 |
max_value=100,
|
368 |
value=10
|
369 |
)
|
370 |
-
|
371 |
-
min_topic_size = st.slider(
|
372 |
-
"Minimum Topic Size",
|
373 |
-
min_value=10,
|
374 |
-
max_value=100,
|
375 |
-
value=30,
|
376 |
-
help="Minimum number of documents required to form a topic"
|
377 |
-
)
|
378 |
|
379 |
if st.button("Process Data"):
|
380 |
with st.spinner("Processing your data..."):
|
@@ -386,7 +378,7 @@ if uploaded_file is not None:
|
|
386 |
top_n=top_n,
|
387 |
topic_strategy=topic_strategy,
|
388 |
n_topics=n_topics if topic_strategy == "Manual" else None,
|
389 |
-
min_topic_size=
|
390 |
)
|
391 |
|
392 |
if summaries:
|
|
|
367 |
max_value=100,
|
368 |
value=10
|
369 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
|
371 |
if st.button("Process Data"):
|
372 |
with st.spinner("Processing your data..."):
|
|
|
378 |
top_n=top_n,
|
379 |
topic_strategy=topic_strategy,
|
380 |
n_topics=n_topics if topic_strategy == "Manual" else None,
|
381 |
+
min_topic_size=1
|
382 |
)
|
383 |
|
384 |
if summaries:
|