mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
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:
parent
bd6b198e20
commit
cf0e265107
7 changed files with 47 additions and 238 deletions
|
|
@ -106,9 +106,6 @@ class Config:
|
|||
STT_SERVICE = os.getenv("STT_SERVICE")
|
||||
STT_SERVICE_API_BASE = os.getenv("STT_SERVICE_API_BASE")
|
||||
STT_SERVICE_API_KEY = os.getenv("STT_SERVICE_API_KEY")
|
||||
|
||||
# Local STT Configuration
|
||||
LOCAL_STT_MODEL = os.getenv("LOCAL_STT_MODEL", "base")
|
||||
|
||||
# Validation Checks
|
||||
# Check embedding dimension
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue