Spaces:
Running
Running
Commit
·
d095ee8
1
Parent(s):
463e4f9
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ form.caption("See the list of pre-trained models that are available here! https:
|
|
42 |
form.header("BERTopic Settings")
|
43 |
use_topic_reduction = form.selectbox("How do you want to handle topic reduction", ["HDBScan", "Auto", "Manual"])
|
44 |
form.caption("Leave this if you want HDBScan to choose the number of topics (clusters) for you. Set to Auto to have BERTopic prune these topics further, set to Manual to specify the number yourself")
|
45 |
-
number_of_topics = form.number_input("Enter the number of topics to use if doing Manual topic reduction", value =
|
46 |
use_random_seed = form.checkbox("Do you want to make the results reproducible? This significantly slows down BERTopic", value = False)
|
47 |
|
48 |
|
|
|
42 |
form.header("BERTopic Settings")
|
43 |
use_topic_reduction = form.selectbox("How do you want to handle topic reduction", ["HDBScan", "Auto", "Manual"])
|
44 |
form.caption("Leave this if you want HDBScan to choose the number of topics (clusters) for you. Set to Auto to have BERTopic prune these topics further, set to Manual to specify the number yourself")
|
45 |
+
number_of_topics = form.number_input("Enter the number of topics to use if doing Manual topic reduction", value = 4)
|
46 |
use_random_seed = form.checkbox("Do you want to make the results reproducible? This significantly slows down BERTopic", value = False)
|
47 |
|
48 |
|