green commited on
Commit
116a7d0
1 Parent(s): 63dcf6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -178,6 +178,9 @@ article_dict, clusters = initialize(LIMIT, USE_CACHE)
178
  # We call a display function and get the user input.
179
  # For this its still streamlit.
180
 
 
 
 
181
  # button to refresh topics
182
  if st.button("Refresh topics!"):
183
  article_dict, clusters = initialize(LIMIT, USE_CACHE)
 
178
  # We call a display function and get the user input.
179
  # For this its still streamlit.
180
 
181
+ st.write(f"Welcome to TopigDig! You'll see three drop downs containing entities recognized in current news headlines. Select 1 to 3 topics and TopicDig will generate a digest consisting of summarizations of the articles related to the terms you select! It's a good idea to hit the refresh topics button the first time you run. This checks the current headlines and updates the lists. Named entity recognition and summarization are done using transformers from the HuggingFace model hub.
182
+ ")
183
+
184
  # button to refresh topics
185
  if st.button("Refresh topics!"):
186
  article_dict, clusters = initialize(LIMIT, USE_CACHE)