Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,8 @@ from langchain.chains import create_retrieval_chain
|
|
10 |
from langchain_community.document_loaders import PyPDFLoader
|
11 |
|
12 |
# Set your API key
|
13 |
-
GOOGLE_API_KEY = "YOUR_GOOGLE_API_KEY"
|
|
|
14 |
|
15 |
def process_pdf_and_question(pdf_file, question):
|
16 |
# Load the models with the API key
|
|
|
10 |
from langchain_community.document_loaders import PyPDFLoader
|
11 |
|
12 |
# Set your API key
|
13 |
+
#GOOGLE_API_KEY = "YOUR_GOOGLE_API_KEY"
|
14 |
+
GOOGLE_API_KEY = "AIzaSyCHLS-wFvSYxSTJjkRQQ-FiC5064112Eq8"
|
15 |
|
16 |
def process_pdf_and_question(pdf_file, question):
|
17 |
# Load the models with the API key
|