gabrielwithhappy commited on
Commit
768cb65
1 Parent(s): 9e9c9e8

fix limits # of loading news items

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,8 +59,8 @@ class news_collector:
59
 
60
  def update_news_examples(self):
61
  news_links = self.get_news_links()
62
- # TODO roll back
63
- for news_url in news_links[:2]:
64
  article = self.get_new_parser(news_url)
65
  self.examples_text.append([get_summary(article.text[:1000]), news_url])
66
 
 
59
 
60
  def update_news_examples(self):
61
  news_links = self.get_news_links()
62
+
63
+ for news_url in news_links:
64
  article = self.get_new_parser(news_url)
65
  self.examples_text.append([get_summary(article.text[:1000]), news_url])
66