adrienbrdne commited on
Commit
e7ef7cc
·
verified ·
1 Parent(s): 067e34e

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +2 -1
api.py CHANGED
@@ -54,7 +54,8 @@ async def lifespan(app: FastAPI):
54
  app = FastAPI(
55
  title="Neo4j Importer",
56
  description="API to fetch documents, summarize it with Gemini, and add it to Neo4j.",
57
- version="1.0.0"
 
58
  )
59
 
60
  # --- Utility Functions (Adapted from your script) ---
 
54
  app = FastAPI(
55
  title="Neo4j Importer",
56
  description="API to fetch documents, summarize it with Gemini, and add it to Neo4j.",
57
+ version="1.0.0",
58
+ lifespan=lifespan
59
  )
60
 
61
  # --- Utility Functions (Adapted from your script) ---