Spaces:
Running
Running
Update pages/2 Topic Modeling.py
Browse files
pages/2 Topic Modeling.py
CHANGED
@@ -187,12 +187,13 @@ if uploaded_file is not None:
|
|
187 |
["all-MiniLM-L6-v2", "paraphrase-multilingual-MiniLM-L12-v2", "en_core_web_md"], index=0, horizontal=True)
|
188 |
else:
|
189 |
st.write('Please choose your preferred method')
|
190 |
-
|
191 |
-
num_topic = num_cho
|
192 |
-
|
193 |
if method == 'BERTopic':
|
194 |
st.info('BERTopic is an expensive process when dealing with a large volume of text with our existing resources. Please kindly wait until the visualization appears.', icon="ℹ️")
|
195 |
-
|
|
|
|
|
|
|
196 |
#===topic===
|
197 |
if method == 'Choose...':
|
198 |
st.write('')
|
|
|
187 |
["all-MiniLM-L6-v2", "paraphrase-multilingual-MiniLM-L12-v2", "en_core_web_md"], index=0, horizontal=True)
|
188 |
else:
|
189 |
st.write('Please choose your preferred method')
|
190 |
+
|
|
|
|
|
191 |
if method == 'BERTopic':
|
192 |
st.info('BERTopic is an expensive process when dealing with a large volume of text with our existing resources. Please kindly wait until the visualization appears.', icon="ℹ️")
|
193 |
+
|
194 |
+
if st.button("Submit", on_click=reset_all):
|
195 |
+
num_topic = num_cho
|
196 |
+
|
197 |
#===topic===
|
198 |
if method == 'Choose...':
|
199 |
st.write('')
|