diff --git a/app.py b/app.py index 1d20115..5c24287 100644 --- a/app.py +++ b/app.py @@ -10,6 +10,7 @@ from langchain.prompts import PromptTemplate from google.generativeai.types.safety_types import HarmBlockThreshold, HarmCategory +load_dotenv() genai.configure(api_key=os.getenv("GOOGLE_API_KEY")) def get_pdf_text(pdf_docs):