LightRT commited on
Commit
3843ff9
·
verified ·
1 Parent(s): 5ddbcbd

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +3 -0
src/main.py CHANGED
@@ -5,6 +5,9 @@ from pydantic import BaseModel , Field
5
  from langgraph.checkpoint.postgres import PostgresSaver
6
  from langchain_core.messages import HumanMessage
7
  import os
 
 
 
8
 
9
  app = FastAPI(
10
  title="Text2SQL Agent API",
 
5
  from langgraph.checkpoint.postgres import PostgresSaver
6
  from langchain_core.messages import HumanMessage
7
  import os
8
+ from dotenv import load_dotenv
9
+
10
+ load_dotenv()
11
 
12
  app = FastAPI(
13
  title="Text2SQL Agent API",