gabrielwithhappy commited on
Commit
a2a8970
1 Parent(s): 6d753ad

add index limit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ class news_collector:
56
 
57
  for news_url in news_links:
58
  article = self.get_new_parser(news_url)
59
- self.examples_text.append([get_summary(article.text), news_url])
60
 
61
 
62
 
 
56
 
57
  for news_url in news_links:
58
  article = self.get_new_parser(news_url)
59
+ self.examples_text.append([get_summary(article.text[:1000]), news_url])
60
 
61
 
62