refactor: integrate local STT with existing upload flow

- Simplify STT_SERVICE config to local/MODEL_SIZE format
- Remove separate STT routes, integrate with document upload
- Add local STT support to audio file processing pipeline
- Remove React component, use existing upload interface
- Support both local Faster-Whisper and external STT services
- Tested with real speech: 99% accuracy, 2.87s processing
This commit is contained in:
Nabhan 2025-10-12 10:50:55 +05:00
parent bd6b198e20
commit cf0e265107
7 changed files with 47 additions and 238 deletions

View file

@ -17,7 +17,6 @@ from .luma_add_connector_route import router as luma_add_connector_router
from .podcasts_routes import router as podcasts_router
from .search_source_connectors_routes import router as search_source_connectors_router
from .search_spaces_routes import router as search_spaces_router
from .stt_routes import router as stt_router
router = APIRouter()
@ -32,4 +31,3 @@ router.include_router(airtable_add_connector_router)
router.include_router(luma_add_connector_router)
router.include_router(llm_config_router)
router.include_router(logs_router)
router.include_router(stt_router)