Browse Source

add routers

highing666 3 years ago
parent
commit
e91c91dbfc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/main.py

+ 2 - 0
app/main.py

@@ -8,6 +8,7 @@ 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.model_path import early_start
 from app.core.config import settings
 from app.core.events import create_start_app_handler
 from app.core.logger import InterceptHandler
@@ -26,6 +27,7 @@ def get_application() -> FastAPI:
 
     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'])
     application.include_router(equipment.router, prefix='/equip', tags=['Equipment'])
     application.include_router(item.router, prefix='/items', tags=['Items'])
     application.include_router(nlp.router, prefix='/nlp-service', tags=['NLP'])