sarch7040 commited on
Commit
da9137a
·
verified ·
1 Parent(s): 50c23b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -6,9 +6,12 @@ from dotenv import load_dotenv
6
  from database.db_handler import init_db
7
  from langchain_logic.agent_setup import create_agent_executor
8
 
 
 
9
  # --- Load Environment and Initialize ---
10
  load_dotenv()
11
  init_db()
 
12
  agent_executor = create_agent_executor()
13
 
14
  # --- Initial Bot Message ---
 
6
  from database.db_handler import init_db
7
  from langchain_logic.agent_setup import create_agent_executor
8
 
9
+ import os
10
+
11
  # --- Load Environment and Initialize ---
12
  load_dotenv()
13
  init_db()
14
+ GOOGLE_API_KEY = os.getenv(GOOGLE_API_KEY)
15
  agent_executor = create_agent_executor()
16
 
17
  # --- Initial Bot Message ---