Devikalalitha commited on
Commit
5042530
1 Parent(s): 3c41ed7

Update get_news.py

Browse files
Files changed (1) hide show
  1. get_news.py +1 -1
get_news.py CHANGED
@@ -205,7 +205,7 @@ def get_news_multi_process(urls):
205
  def get_news():
206
  df = get_news_multi_process(rss)
207
  if df is not None:
208
- df = df.sample(frac=0.5)
209
  df.reset_index(drop=True, inplace=True)
210
  logging.warning(f"Sampled {len(df)} articles")
211
  return df
 
205
  def get_news():
206
  df = get_news_multi_process(rss)
207
  if df is not None:
208
+ df = df.sample(frac=0.3)
209
  df.reset_index(drop=True, inplace=True)
210
  logging.warning(f"Sampled {len(df)} articles")
211
  return df