|
|
|
@@ -192,7 +192,7 @@ async def get_documentation(): |
|
|
|
return get_swagger_ui_html(openapi_url="/openapi.json", title="docs") |
|
|
|
|
|
|
|
|
|
|
|
@app.get("/ble-ai/infer", tags=["BLE-AI"]) |
|
|
|
@app.get("/ble-ai/infer", tags=["BLE-AI"], dependencies=[Depends(get_current_user)]) |
|
|
|
async def get_ble_ai_infer(mac: Optional[List[str]] = Query(default=None)): |
|
|
|
path = config_env.BLE_AI_INFER_CSV |
|
|
|
if not os.path.isfile(path): |
|
|
|
|