feat(ai): apply 1.1x speed default to Yandex TTS as well
This commit is contained in:
@@ -104,11 +104,11 @@ def _yandex_role() -> str:
|
||||
|
||||
|
||||
def _yandex_speed() -> str:
|
||||
raw = os.getenv("AI_VOICE_TTS_YANDEX_SPEED", "1.0").strip()
|
||||
raw = os.getenv("AI_VOICE_TTS_YANDEX_SPEED", "1.1").strip()
|
||||
try:
|
||||
value = float(raw)
|
||||
except ValueError:
|
||||
value = 1.0
|
||||
value = 1.1
|
||||
return f"{max(0.1, min(value, 3.0)):g}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user