diff scobot/service/query.py @ 15:6ed25bcaaf1f

add prefect and rebuild flow to k8s
author drewp@bigasterisk.com
date Fri, 19 Jul 2024 00:30:47 -0700
parents b9c2b7fedbcd
children 7a87ba2f00d9
line wrap: on
line diff
--- a/scobot/service/query.py	Thu Jul 11 22:11:41 2024 -0700
+++ b/scobot/service/query.py	Fri Jul 19 00:30:47 2024 -0700
@@ -48,7 +48,7 @@
 
 @asynccontextmanager
 async def lifespan(app: FastAPI):
-    app.state.index = SearchIndexRO('data/index')
+    app.state.index = SearchIndexRO('data/build/index0')
     yield
 
 app = FastAPI(lifespan=lifespan)