Spaces:
Sleeping
Sleeping
Michael Hu
commited on
Commit
·
be471de
1
Parent(s):
9ad1c87
fix(config): update supported ASR models list to reflect actual availability
Browse files
app.py
CHANGED
|
@@ -119,7 +119,7 @@ def get_supported_configurations() -> dict:
|
|
| 119 |
logger.warning("Using fallback configurations - this may indicate a configuration service issue")
|
| 120 |
# Return fallback configurations
|
| 121 |
fallback_config = {
|
| 122 |
-
'asr_models': ['
|
| 123 |
'voices': ['chatterbox'],
|
| 124 |
'languages': ['en', 'zh'],
|
| 125 |
'audio_formats': ['wav', 'mp3', 'm4a', 'flac', 'ogg'], # Updated to include all supported formats
|
|
|
|
| 119 |
logger.warning("Using fallback configurations - this may indicate a configuration service issue")
|
| 120 |
# Return fallback configurations
|
| 121 |
fallback_config = {
|
| 122 |
+
'asr_models': ['parakeet', 'whisper-large'],
|
| 123 |
'voices': ['chatterbox'],
|
| 124 |
'languages': ['en', 'zh'],
|
| 125 |
'audio_formats': ['wav', 'mp3', 'm4a', 'flac', 'ogg'], # Updated to include all supported formats
|
src/application/services/audio_processing_service.py
CHANGED
|
@@ -634,7 +634,7 @@ class AudioProcessingApplicationService:
|
|
| 634 |
Dict[str, Any]: Supported configurations
|
| 635 |
"""
|
| 636 |
return {
|
| 637 |
-
'asr_models': ['parakeet', 'whisper-
|
| 638 |
'voices': ['chatterbox'],
|
| 639 |
'languages': ['en', 'zh'],
|
| 640 |
'audio_formats': self._config.get_processing_config()['supported_audio_formats'],
|
|
|
|
| 634 |
Dict[str, Any]: Supported configurations
|
| 635 |
"""
|
| 636 |
return {
|
| 637 |
+
'asr_models': ['parakeet', 'whisper-large'],
|
| 638 |
'voices': ['chatterbox'],
|
| 639 |
'languages': ['en', 'zh'],
|
| 640 |
'audio_formats': self._config.get_processing_config()['supported_audio_formats'],
|