From ff94dcdb1d2c0763fecc23486e175c1e99f3421d Mon Sep 17 00:00:00 2001 From: Reinaldo Chaves Date: Wed, 8 May 2024 18:17:14 -0300 Subject: [PATCH] Update app.py --- app.py | 1 + 1 file changed, 1 insertion(+) 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):