Spaces:
Running
Running
Download BERTopic vis
Browse files
pages/2 Topic Modeling.py
CHANGED
@@ -417,8 +417,8 @@ if uploaded_file is not None:
|
|
417 |
except ValueError:
|
418 |
st.error('πββοΈ Please raise the number of topics and click submit')
|
419 |
|
420 |
-
|
421 |
-
|
422 |
|
423 |
with tab2:
|
424 |
st.markdown('**Grootendorst, M. (2022). BERTopic: Neural topic modeling with a class-based TF-IDF procedure. arXiv preprint arXiv:2203.05794.** https://doi.org/10.48550/arXiv.2203.05794')
|
|
|
417 |
except ValueError:
|
418 |
st.error('πββοΈ Please raise the number of topics and click submit')
|
419 |
|
420 |
+
except NameError:
|
421 |
+
st.warning('π±οΈ Please click Submit')
|
422 |
|
423 |
with tab2:
|
424 |
st.markdown('**Grootendorst, M. (2022). BERTopic: Neural topic modeling with a class-based TF-IDF procedure. arXiv preprint arXiv:2203.05794.** https://doi.org/10.48550/arXiv.2203.05794')
|