lalithadevi commited on
Commit
90c8eef
1 Parent(s): a364621

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +15 -17
config.py CHANGED
@@ -3,30 +3,28 @@ import os
3
 
4
  COLLECT_PREDICTION_DATA = 1
5
  PRODUCTION_URL = os.getenv("PRODUCTION_DB_URL")
6
- PRODUCTION_DATABASE = "test_rss_news_db_cat_pred_sim_news"
7
- PRODUCTION_COLLECTION = "test_rss_news_cat_pred_sim_news"
8
  PREDICTION_URL = os.getenv("PREDICTION_DB_URL")
9
- PREDICTION_DATABASE = "test_indian_news_predictions_db"
10
- PREDICTION_COLLECTION = "test_indian_news_predictions_coll"
11
  NEWS_EXTRACTOR_URL_TIMEOUT = 5
12
 
13
- # RSS_FEEDS_TO_EXTRACT = ['https://www.economictimes.indiatimes.com/rssfeedstopstories.cms',
14
- # 'https://www.thehindu.com/news/feeder/default.rss',
15
- # # 'https://telanganatoday.com/feed',
16
- # 'https://www.businesstoday.in/rssfeeds/?id=225346',
17
- # 'https://feeds.feedburner.com/ndtvnews-latest',
18
- # 'https://www.hindustantimes.com/feeds/rss/world-news/rssfeed.xml',
19
- # 'https://www.indiatoday.in/rss/1206578',
20
- # # 'https://www.moneycontrol.com/rss/latestnews.xml',
21
- # 'https://www.indiatvnews.com/rssnews/topstory.xml',
22
- # 'https://www.livemint.com/rss/news',
23
- # 'https://www.zeebiz.com/latest.xml/feed',
24
- # 'https://www.timesofindia.indiatimes.com/rssfeedmostrecent.cms']
25
-
26
  RSS_FEEDS_TO_EXTRACT = ['https://www.economictimes.indiatimes.com/rssfeedstopstories.cms',
27
  'https://www.thehindu.com/news/feeder/default.rss',
 
 
 
 
 
 
 
 
 
28
  'https://www.timesofindia.indiatimes.com/rssfeedmostrecent.cms']
29
 
 
 
30
  DISTILBERT_TOKENIZER_N_TOKENS = 80
31
  NEWS_CATEGORY_CLASSIFIER_N_CLASSES = 8
32
  CLASSIFIER_THRESHOLD = 0.6
 
3
 
4
  COLLECT_PREDICTION_DATA = 1
5
  PRODUCTION_URL = os.getenv("PRODUCTION_DB_URL")
6
+ PRODUCTION_DATABASE = "rss_news_db_cat_pred_sim_news"
7
+ PRODUCTION_COLLECTION = "rss_news_cat_pred_sim_news"
8
  PREDICTION_URL = os.getenv("PREDICTION_DB_URL")
9
+ PREDICTION_DATABASE = "indian_news_predictions_db"
10
+ PREDICTION_COLLECTION = "indian_news_predictions_coll"
11
  NEWS_EXTRACTOR_URL_TIMEOUT = 5
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  RSS_FEEDS_TO_EXTRACT = ['https://www.economictimes.indiatimes.com/rssfeedstopstories.cms',
14
  'https://www.thehindu.com/news/feeder/default.rss',
15
+ # 'https://telanganatoday.com/feed',
16
+ 'https://www.businesstoday.in/rssfeeds/?id=225346',
17
+ 'https://feeds.feedburner.com/ndtvnews-latest',
18
+ 'https://www.hindustantimes.com/feeds/rss/world-news/rssfeed.xml',
19
+ 'https://www.indiatoday.in/rss/1206578',
20
+ # 'https://www.moneycontrol.com/rss/latestnews.xml',
21
+ 'https://www.indiatvnews.com/rssnews/topstory.xml',
22
+ 'https://www.livemint.com/rss/news',
23
+ 'https://www.zeebiz.com/latest.xml/feed',
24
  'https://www.timesofindia.indiatimes.com/rssfeedmostrecent.cms']
25
 
26
+
27
+
28
  DISTILBERT_TOKENIZER_N_TOKENS = 80
29
  NEWS_CATEGORY_CLASSIFIER_N_CLASSES = 8
30
  CLASSIFIER_THRESHOLD = 0.6