Spaces:
Sleeping
Sleeping
Update api.py
Browse files
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) ---
|