Spaces:
Building
Building
Update stt/stt_factory.py
Browse files- stt/stt_factory.py +1 -1
stt/stt_factory.py
CHANGED
@@ -79,7 +79,7 @@ class STTFactory:
|
|
79 |
return NoSTT()
|
80 |
|
81 |
# Get API key or credentials
|
82 |
-
api_key =
|
83 |
|
84 |
if not api_key and stt_provider_config.requires_api_key:
|
85 |
log_warning(f"⚠️ No API key configured for {stt_engine}")
|
|
|
79 |
return NoSTT()
|
80 |
|
81 |
# Get API key or credentials
|
82 |
+
api_key = STTFactory._get_api_key(stt_provider_config)
|
83 |
|
84 |
if not api_key and stt_provider_config.requires_api_key:
|
85 |
log_warning(f"⚠️ No API key configured for {stt_engine}")
|