This commit is contained in:
arys
2026-04-30 02:30:07 +05:00
parent 1b5ebbc456
commit d6b8075ab0
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ class ElevenLabsSTT(BaseSTT):
self._input_sample_rate_hz = max(int(input_sample_rate_hz), 1)
self._target_sample_rate_hz = max(int(target_sample_rate_hz), 1)
self._timeout_seconds = max(float(timeout_seconds if timeout_seconds is not None else _timeout_seconds()), 1.0)
self._language_code = str(language_code or os.getenv("ELEVENLABS_STT_LANGUAGE_CODE", "")).strip() or None
self._language_code = str(language_code or os.getenv("ELEVENLABS_STT_LANGUAGE_CODE", "ru")).strip() or "ru"
self._use_realtime = (
bool(use_realtime)
if use_realtime is not None