souvikmaji22 commited on
Commit
4509d21
1 Parent(s): a7d4318

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- api_key = "AIzaSyCzsOMpcefpesKYw4tI48moLBJi_JN_Y1I"
15
- genai.configure(api_key=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 = ""