NCTCMumbai commited on
Commit
1bc1c54
·
verified ·
1 Parent(s): e86d729

Update middlewares/utils.py

Browse files
Files changed (1) hide show
  1. middlewares/utils.py +1 -1
middlewares/utils.py CHANGED
@@ -10,7 +10,7 @@ from dotenv import load_dotenv
10
  load_dotenv()
11
 
12
 
13
- BING_SEARCH_API_KEY = os.environ.get('AZURE_SEARCH_KEY', 'b828219acd4f46d0b77d51b4564a8475')
14
  reranker = CrossEncoder("cross-encoder/ms-marco-MiniLM-L-6-v2")
15
  googleSearchClient = SearchClient("google",api_key=None, engine_id=None)
16
  bingSearchClient = SearchClient("bing", api_key=BING_SEARCH_API_KEY, engine_id=None)
 
10
  load_dotenv()
11
 
12
 
13
+ BING_SEARCH_API_KEY = os.getenv("BING_SEARCH_API_KEY_NCTC")
14
  reranker = CrossEncoder("cross-encoder/ms-marco-MiniLM-L-6-v2")
15
  googleSearchClient = SearchClient("google",api_key=None, engine_id=None)
16
  bingSearchClient = SearchClient("bing", api_key=BING_SEARCH_API_KEY, engine_id=None)