|
@@ -7,7 +7,7 @@ import uvicorn
|
|
|
from fastapi import FastAPI
|
|
|
from loguru import logger
|
|
|
|
|
|
-from app.api.routers import targets, equipment, space, item, user, bluetooth, devices, nlp, positioning
|
|
|
+from app.api.routers import algorithms, targets, equipment, space, item, user, bluetooth, devices, nlp, positioning
|
|
|
from app.api.routers.model_path import early_start
|
|
|
from app.core.config import settings
|
|
|
from app.core.events import create_start_app_handler
|
|
@@ -25,6 +25,7 @@ def get_application() -> FastAPI:
|
|
|
|
|
|
application.add_event_handler('startup', create_start_app_handler())
|
|
|
|
|
|
+ application.include_router(algorithms.router, prefix='/algo', tags=['Algorithms'])
|
|
|
application.include_router(bluetooth.router, prefix='/bluetooth', tags=['BLE'])
|
|
|
application.include_router(devices.router, prefix='/devices', tags=['Devices'])
|
|
|
application.include_router(early_start.router, prefix='/model-path', tags=['Model Path'])
|