allow mp3 voices
Browse files- utils/audio.py +1 -1
utils/audio.py
CHANGED
@@ -87,7 +87,7 @@ def get_voices():
|
|
87 |
for sub in subs:
|
88 |
subj = os.path.join('voices', sub)
|
89 |
if os.path.isdir(subj):
|
90 |
-
voices[sub] = glob(f'{subj}/*.wav')
|
91 |
return voices
|
92 |
|
93 |
|
|
|
87 |
for sub in subs:
|
88 |
subj = os.path.join('voices', sub)
|
89 |
if os.path.isdir(subj):
|
90 |
+
voices[sub] = list(glob(f'{subj}/*.wav')) + list(glob(f'{subj}/*.mp3'))
|
91 |
return voices
|
92 |
|
93 |
|