mirror of
https://github.com/neonbjb/tortoise-tts.git
synced 2025-12-06 07:12:00 +01:00
Update audio.py
should be 22050 like previous
This commit is contained in:
parent
6c0989d20a
commit
ecfa130329
|
|
@ -114,7 +114,7 @@ def load_voice(voice, extra_voice_dirs=[]):
|
||||||
conds = []
|
conds = []
|
||||||
for cond_path in paths:
|
for cond_path in paths:
|
||||||
if not cond_path.endswith('.pth'):
|
if not cond_path.endswith('.pth'):
|
||||||
c = load_audio(cond_path, 24000)
|
c = load_audio(cond_path, 22050)
|
||||||
conds.append(c)
|
conds.append(c)
|
||||||
|
|
||||||
if not pth_files:
|
if not pth_files:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue