From 87cfba0d31e487e9ea393f2923698464571cc601 Mon Sep 17 00:00:00 2001 From: James Betker Date: Thu, 28 Apr 2022 17:38:37 -0600 Subject: [PATCH] allow mp3 voices --- utils/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/audio.py b/utils/audio.py index aad3a0f..cb86566 100644 --- a/utils/audio.py +++ b/utils/audio.py @@ -87,7 +87,7 @@ def get_voices(): for sub in subs: subj = os.path.join('voices', sub) if os.path.isdir(subj): - voices[sub] = glob(f'{subj}/*.wav') + voices[sub] = list(glob(f'{subj}/*.wav')) + list(glob(f'{subj}/*.mp3')) return voices