Spaces:
Sleeping
Sleeping
souvikmaji22
commited on
Commit
•
4509d21
1
Parent(s):
a7d4318
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ from langchain.vectorstores import FAISS
|
|
11 |
from langchain.prompts import PromptTemplate
|
12 |
from langchain.chains.question_answering import load_qa_chain
|
13 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
14 |
-
|
15 |
-
genai.configure(api_key=
|
16 |
|
17 |
def get_text(pdfs):
|
18 |
text = ""
|
|
|
11 |
from langchain.prompts import PromptTemplate
|
12 |
from langchain.chains.question_answering import load_qa_chain
|
13 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
14 |
+
GOOGLE_API_KEY = "AIzaSyCzsOMpcefpesKYw4tI48moLBJi_JN_Y1I"
|
15 |
+
genai.configure(api_key=GOOGLE_API_KEY)
|
16 |
|
17 |
def get_text(pdfs):
|
18 |
text = ""
|