mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-10 06:18:02 -05:00
...
This commit is contained in:
@@ -2675,7 +2675,6 @@ def web_interface(args, ctx):
|
||||
]
|
||||
if session['tts_engine'] in [TTS_ENGINES['VITS'], TTS_ENGINES['FAIRSEQ'], TTS_ENGINES['TACOTRON2'], TTS_ENGINES['YOURTTS']]:
|
||||
voice_options = [('Default', None)] + sorted(voice_options, key=lambda x: x[0].lower())
|
||||
session['voice'] = None
|
||||
else:
|
||||
if session['voice'] is None:
|
||||
session['voice'] = models[session['tts_engine']][session['fine_tuned']]['voice']
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user