ciyidogan commited on
Commit
d0e1c2c
·
verified ·
1 Parent(s): 9502306

Update stt/stt_factory.py

Browse files
Files changed (1) hide show
  1. 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 = TTSFactory._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}")
 
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}")