mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-10 06:18:02 -05:00
...
This commit is contained in:
@@ -178,11 +178,13 @@ class YourTTS(TTSUtils, TTSRegistry, name='yourtts'):
|
||||
else:
|
||||
error = f"Cannot create {final_sentence_file}"
|
||||
print(error)
|
||||
return False
|
||||
else
|
||||
error = 'self.audio_segments is empty!'
|
||||
print(error)
|
||||
else:
|
||||
error = f"TTS engine {self.session['tts_engine']} failed to load!"
|
||||
print(error)
|
||||
return False
|
||||
return False
|
||||
except Exception as e:
|
||||
error = f'YourTTS.convert(): {e}'
|
||||
raise ValueError(e)
|
||||
|
||||
Reference in New Issue
Block a user