Spaces:
Running
Running
Update middlewares/utils.py
Browse files- 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.
|
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)
|