From ecfa1303290b0c7cf2dd57870da475a4db4ea5bb Mon Sep 17 00:00:00 2001 From: Rino Alfian Date: Thu, 27 Jun 2024 12:00:54 +0700 Subject: [PATCH] Update audio.py should be 22050 like previous --- tortoise/utils/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tortoise/utils/audio.py b/tortoise/utils/audio.py index fff3656..fc41487 100644 --- a/tortoise/utils/audio.py +++ b/tortoise/utils/audio.py @@ -114,7 +114,7 @@ def load_voice(voice, extra_voice_dirs=[]): conds = [] for cond_path in paths: if not cond_path.endswith('.pth'): - c = load_audio(cond_path, 24000) + c = load_audio(cond_path, 22050) conds.append(c) if not pth_files: