mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-07 21:14:06 -05:00
added piper to Default voice no clone list
This commit is contained in:
@@ -2883,7 +2883,7 @@ def web_interface(args, ctx):
|
||||
for f in parent_dir.rglob(file_pattern)
|
||||
if f.is_file()
|
||||
]
|
||||
if session['tts_engine'] in [TTS_ENGINES['VITS'], TTS_ENGINES['FAIRSEQ'], TTS_ENGINES['TACOTRON2'], TTS_ENGINES['YOURTTS']]:
|
||||
if session['tts_engine'] in [TTS_ENGINES['VITS'], TTS_ENGINES['FAIRSEQ'], TTS_ENGINES['TACOTRON2'], TTS_ENGINES['YOURTTS'], TTS_ENGINES['PIPER']]:
|
||||
voice_options = [('Default', None)] + sorted(voice_options, key=lambda x: x[0].lower())
|
||||
else:
|
||||
voice_options = sorted(voice_options, key=lambda x: x[0].lower())
|
||||
|
||||
Reference in New Issue
Block a user