fix
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user