Omkar008 commited on
Commit
114cd96
·
verified ·
1 Parent(s): ac8afe6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -4,8 +4,6 @@ from contextlib import asynccontextmanager
4
  import logging
5
  from api.endpoints import location
6
 
7
- app = FastAPI(lifespan=lifespan)
8
-
9
  @asynccontextmanager
10
  async def lifespan(app: FastAPI):
11
  # initialize_nlp()
@@ -18,5 +16,7 @@ async def lifespan(app: FastAPI):
18
 
19
  yield
20
 
 
 
21
  app.include_router(location.router, prefix="/location/api/v1")
22
 
 
4
  import logging
5
  from api.endpoints import location
6
 
 
 
7
  @asynccontextmanager
8
  async def lifespan(app: FastAPI):
9
  # initialize_nlp()
 
16
 
17
  yield
18
 
19
+ app = FastAPI(lifespan=lifespan)
20
+
21
  app.include_router(location.router, prefix="/location/api/v1")
22