added piper to Default voice no clone list

This commit is contained in:
DrewThomasson
2025-08-08 01:38:52 -04:00
parent 3a702a0f2e
commit 329e49a787

View File

@@ -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())