Spaces:
Runtime error
Runtime error
stephenleo
commited on
Commit
·
7e53eea
1
Parent(s):
e0f2df1
remove progress bar routing
Browse files
app.py
CHANGED
@@ -94,6 +94,7 @@ 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)
|
|
|
94 |
kwargs={'min_topic_size': min(round(len(data)/25), 10), 'n_gram_range': (1, 2)})
|
95 |
|
96 |
with st.spinner('Topic Modeling'):
|
97 |
+
#enable this to route terminal logs to the frontend
|
98 |
#with helpers.st_stdout("success"), helpers.st_stderr("code"):
|
99 |
topic_data, topic_model, topics = helpers.topic_modeling(
|
100 |
data, min_topic_size=min_topic_size, n_gram_range=n_gram_range)
|