Spaces:
Running
Running
Commit
·
c817a86
1
Parent(s):
5c7fe38
Upload 12 files
Browse files
app.py
CHANGED
@@ -44,12 +44,11 @@ from langchain.vectorstores.faiss import FAISS
|
|
44 |
from langchain.docstore.document import Document
|
45 |
from langchain.chains.question_answering import load_qa_chain
|
46 |
|
47 |
-
|
48 |
-
# os.environ["TMDB_BEARER_TOKEN"] = ""
|
49 |
news_api_key = "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"
|
50 |
# news_api_key = os.environ["NEWS_API_KEY"]
|
51 |
-
tmdb_bearer_token = os.environ["TMDB_BEARER_TOKEN"]
|
52 |
-
|
53 |
|
54 |
TOOLS_LIST = ['serpapi', 'wolfram-alpha', 'pal-math', 'pal-colored-objects', 'news-api'] #'google-search','news-api','tmdb-api','open-meteo-api'
|
55 |
TOOLS_DEFAULT_LIST = ['serpapi', 'wolfram-alpha', 'pal-math', 'pal-colored-objects', 'news-api']
|
|
|
44 |
from langchain.docstore.document import Document
|
45 |
from langchain.chains.question_answering import load_qa_chain
|
46 |
|
47 |
+
|
|
|
48 |
news_api_key = "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"
|
49 |
# news_api_key = os.environ["NEWS_API_KEY"]
|
50 |
+
# tmdb_bearer_token = os.environ["TMDB_BEARER_TOKEN"]
|
51 |
+
tmdb_bearer_token = "ef6345567bb53731af1fd359c5ed5ec9"
|
52 |
|
53 |
TOOLS_LIST = ['serpapi', 'wolfram-alpha', 'pal-math', 'pal-colored-objects', 'news-api'] #'google-search','news-api','tmdb-api','open-meteo-api'
|
54 |
TOOLS_DEFAULT_LIST = ['serpapi', 'wolfram-alpha', 'pal-math', 'pal-colored-objects', 'news-api']
|