Spaces:
Runtime error
Runtime error
Commit History
-
fix(stt): change default model from whisper-large to whisper-medium
Michael Hu7ffd9ec
-
chore: remove unused dependencies and update model selection in Whisper provider
Michael Hu- Remove unused dependencies from requirements.txt - Update Whisper provider to use the correct model name when loading models22eccbb -
fix(stt): handle whisper-large model name as alias for whisper provider
Michael Hu- Allow "whisper-large" to be treated as an alias for the whisper provider - Remove the special-case mapping that was added in the previous commit - Update provider-factory to accept model names as aliases for their respective providers - Remove unused mapping helper and associated logging The change keeps the CLI/API contract intact while eliminating the need to maintain a hard-coded list of model-to-provider mappings.b10a453 -
fix(stt): improve provider selection and error handling in STT service
Michael Hu- Add detailed logging for provider creation and fallback behavior - Add proper error handling when a requested provider is unavailable - Add fallback mechanism when the requested provider is unavailable - Add mapping for legacy model names (e.g. "whisper-large" -> "whisper")5a53a88 -
refactor: remove parakeet ASR provider and update all references to Whisper only
Michael Hu619b266 -
perf(stt): optimize device handling and use model.generate for inference
Michael HuThis change improves performance by: - Automatically detecting and using CUDA when available - Moving inputs to the appropriate device before inference - Using the model's built-in generate method instead of manual inference - Loading models with proper device mapping and dtype configurationc8d736e
-
feat: restrict supported languages to English and Chinese only
Michael Hu2418415 -
chore: update dependencies and replace NeMo with HF transformers for Parakeet STT provider
Michael Huc762284
-
add more logs
Michael Hufdc056d
-
Revert "lgos"
Michael HuThis reverts commit 3fea4d942941cf4051eba1a5e19c7e6a670cd135.781eb5f
-
lgos
Michael Hu3fea4d9 -
Migrate existing STT providers to infrastructure layer
Michael Hu1be582a