"""Local FastAPI app: search box + clickable, seekable results. Endpoints GET / -> the search page POST /api/search -> {query, top_k} -> ranked moments (JSON) POST /api/query_audio -> multipart audio file -> {text, results} GET /api/stats -> index / manifest stats GET {audio_route}/... -> the original recordings, served with HTTP Range so the