Spaces:
Running
Running
Update pages/2 Topic Modeling.py
Browse files
pages/2 Topic Modeling.py
CHANGED
|
@@ -149,7 +149,7 @@ if uploaded_file is not None:
|
|
| 149 |
num_cho = c2.number_input('Choose number of topics', min_value=2, max_value=30, value=2)
|
| 150 |
words_to_remove = c3.text_input("Remove specific words. Separate words by semicolons (;)")
|
| 151 |
|
| 152 |
-
d1, d2 = st.columns([
|
| 153 |
d2.info("Don't do anything during the computing", icon="⚠️")
|
| 154 |
topic_abs, paper=clean_csv(extype)
|
| 155 |
|
|
@@ -358,7 +358,7 @@ if uploaded_file is not None:
|
|
| 358 |
|
| 359 |
@st.cache_data(ttl=3600, show_spinner=False)
|
| 360 |
def Vis_Barchart(extype):
|
| 361 |
-
fig5 = topic_model.visualize_barchart(top_n_topics=num_topic)
|
| 362 |
return fig5
|
| 363 |
|
| 364 |
@st.cache_data(ttl=3600, show_spinner=False)
|
|
|
|
| 149 |
num_cho = c2.number_input('Choose number of topics', min_value=2, max_value=30, value=2)
|
| 150 |
words_to_remove = c3.text_input("Remove specific words. Separate words by semicolons (;)")
|
| 151 |
|
| 152 |
+
d1, d2 = st.columns([7,3])
|
| 153 |
d2.info("Don't do anything during the computing", icon="⚠️")
|
| 154 |
topic_abs, paper=clean_csv(extype)
|
| 155 |
|
|
|
|
| 358 |
|
| 359 |
@st.cache_data(ttl=3600, show_spinner=False)
|
| 360 |
def Vis_Barchart(extype):
|
| 361 |
+
fig5 = topic_model.visualize_barchart(top_n_topics=num_topic)
|
| 362 |
return fig5
|
| 363 |
|
| 364 |
@st.cache_data(ttl=3600, show_spinner=False)
|