merge-requests/28/head
Bob Mottram 2022-09-08 19:23:08 +01:00
parent f728ae5271
commit bed15feb14
1 changed files with 1 additions and 2 deletions

View File

@ -355,8 +355,7 @@ def _speaker_mimic3(pitch: int, rate: int, srange: int,
if pitch > 75:
voice = 'en_US/vctk_low'
length_scale = str(1.2 - (rate / 600.0))
if srange > 100:
srange = 100
srange = min(srange, 100)
noise_w = str(srange / 100.0)
text = html.unescape(say_text).replace('"', "'")
if not text: