m. polinsky
commited on
Commit
•
26d624c
1
Parent(s):
a2bb83f
Update streamlit_app.py
Browse files- streamlit_app.py +4 -0
streamlit_app.py
CHANGED
@@ -172,6 +172,10 @@ article_dict, clusters = initialize(LIMIT, USE_CACHE)
|
|
172 |
# We call a display function and get the user input.
|
173 |
# For this its still streamlit.
|
174 |
|
|
|
|
|
|
|
|
|
175 |
selections = []
|
176 |
choices = list(clusters.keys())
|
177 |
choices.insert(0,'None')
|
|
|
172 |
# We call a display function and get the user input.
|
173 |
# For this its still streamlit.
|
174 |
|
175 |
+
# button to refresh topics
|
176 |
+
if st.button("Refresh topics!"):
|
177 |
+
article_dict, clusters = initialize(LIMIT, USE_CACHE)
|
178 |
+
|
179 |
selections = []
|
180 |
choices = list(clusters.keys())
|
181 |
choices.insert(0,'None')
|