faizhalas commited on
Commit
dd0cc30
β€’
1 Parent(s): 35fca6a

change st.error to st.warning

Browse files
Files changed (1) hide show
  1. pages/2 Topic Modeling.py +3 -3
pages/2 Topic Modeling.py CHANGED
@@ -181,7 +181,7 @@ if uploaded_file is not None:
181
  components.html(py_lda_vis_html, width=1700, height=800)
182
  st.markdown('Copyright (c) 2015, Ben Mabey. https://github.com/bmabey/pyLDAvis')
183
  except NameError:
184
- st.error('πŸ–±οΈ Please click Submit')
185
 
186
  with tab2:
187
  st.markdown('**Sievert, C., & Shirley, K. (2014). LDAvis: A method for visualizing and interpreting topics. Proceedings of the Workshop on Interactive Language Learning, Visualization, and Interfaces.** https://doi.org/10.3115/v1/w14-3110')
@@ -244,7 +244,7 @@ if uploaded_file is not None:
244
  except ValueError:
245
  st.error('πŸ™‡β€β™‚οΈ Please raise the number of topics and click submit')
246
  except NameError:
247
- st.error('πŸ–±οΈ Please click Submit')
248
 
249
  with tab2:
250
  st.markdown('**Yan, X., Guo, J., Lan, Y., & Cheng, X. (2013, May 13). A biterm topic model for short texts. Proceedings of the 22nd International Conference on World Wide Web.** https://doi.org/10.1145/2488388.2488514')
@@ -341,7 +341,7 @@ if uploaded_file is not None:
341
  st.error('πŸ™‡β€β™‚οΈ Please raise the number of topics and click submit')
342
 
343
  except NameError:
344
- st.error('πŸ–±οΈ Please click Submit')
345
 
346
  with tab2:
347
  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')
 
181
  components.html(py_lda_vis_html, width=1700, height=800)
182
  st.markdown('Copyright (c) 2015, Ben Mabey. https://github.com/bmabey/pyLDAvis')
183
  except NameError:
184
+ st.warning('πŸ–±οΈ Please click Submit')
185
 
186
  with tab2:
187
  st.markdown('**Sievert, C., & Shirley, K. (2014). LDAvis: A method for visualizing and interpreting topics. Proceedings of the Workshop on Interactive Language Learning, Visualization, and Interfaces.** https://doi.org/10.3115/v1/w14-3110')
 
244
  except ValueError:
245
  st.error('πŸ™‡β€β™‚οΈ Please raise the number of topics and click submit')
246
  except NameError:
247
+ st.warning('πŸ–±οΈ Please click Submit')
248
 
249
  with tab2:
250
  st.markdown('**Yan, X., Guo, J., Lan, Y., & Cheng, X. (2013, May 13). A biterm topic model for short texts. Proceedings of the 22nd International Conference on World Wide Web.** https://doi.org/10.1145/2488388.2488514')
 
341
  st.error('πŸ™‡β€β™‚οΈ Please raise the number of topics and click submit')
342
 
343
  except NameError:
344
+ st.warning('πŸ–±οΈ Please click Submit')
345
 
346
  with tab2:
347
  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')