Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,8 @@ from langchain.chains import create_retrieval_chain
|
|
| 10 |
from langchain_community.document_loaders import PyPDFLoader
|
| 11 |
|
| 12 |
# Set your API key
|
| 13 |
-
|
| 14 |
-
|
| 15 |
|
| 16 |
def process_pdf_and_question(pdf_file, question):
|
| 17 |
# 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 |
+
|
| 15 |
|
| 16 |
def process_pdf_and_question(pdf_file, question):
|
| 17 |
# Load the models with the API key
|