lalithadevi's picture
Update config.py
203e844 verified
raw history blame
No virus
901 Bytes
DATABASE = "rss_news_db_cat_pred_sim_news"
COLLECTION = "rss_news_cat_pred_sim_news"
NEWS_EXTRACTOR_URL_TIMEOUT = 5
RSS_FEEDS_TO_EXTRACT = ['https://www.economictimes.indiatimes.com/rssfeedstopstories.cms',
'https://www.thehindu.com/news/feeder/default.rss',
# 'https://telanganatoday.com/feed',
'https://www.businesstoday.in/rssfeeds/?id=225346',
'https://feeds.feedburner.com/ndtvnews-latest',
'https://www.hindustantimes.com/feeds/rss/world-news/rssfeed.xml',
'https://www.indiatoday.in/rss/1206578',
'https://www.moneycontrol.com/rss/latestnews.xml',
'https://www.livemint.com/rss/news',
'https://www.zeebiz.com/latest.xml/feed',
'https://www.timesofindia.indiatimes.com/rssfeedmostrecent.cms']
DISTILBERT_TOKENIZER_N_TOKENS = 80
NEWS_CATEGORY_CLASSIFIER_N_CLASSES = 8
CLASSIFIER_THRESHOLD = 0.5
NEWS_RETENTION_SECONDS = 300