stephenleo commited on
Commit
e0f2df1
·
1 Parent(s): 11c8563

remove progress bar causing error

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -94,9 +94,9 @@ def topic_modeling(data):
94
  kwargs={'min_topic_size': min(round(len(data)/25), 10), 'n_gram_range': (1, 2)})
95
 
96
  with st.spinner('Topic Modeling'):
97
- with helpers.st_stdout("success"), helpers.st_stderr("code"):
98
- topic_data, topic_model, topics = helpers.topic_modeling(
99
- data, min_topic_size=min_topic_size, n_gram_range=n_gram_range)
100
 
101
  mapping = {
102
  'Topic Keywords': topic_model.visualize_barchart,
 
94
  kwargs={'min_topic_size': min(round(len(data)/25), 10), 'n_gram_range': (1, 2)})
95
 
96
  with st.spinner('Topic Modeling'):
97
+ #with helpers.st_stdout("success"), helpers.st_stderr("code"):
98
+ topic_data, topic_model, topics = helpers.topic_modeling(
99
+ data, min_topic_size=min_topic_size, n_gram_range=n_gram_range)
100
 
101
  mapping = {
102
  'Topic Keywords': topic_model.visualize_barchart,