mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
661499e391
commit
e38705ef5e
@ -355,7 +355,7 @@ class Piper(TTSBackend):
|
|||||||
if err is not None:
|
if err is not None:
|
||||||
self._errors_from_piper.append(str(err))
|
self._errors_from_piper.append(str(err))
|
||||||
self._errors_from_piper.append(tb)
|
self._errors_from_piper.append(tb)
|
||||||
else:
|
elif self._utterances_being_synthesized:
|
||||||
u = self._utterances_being_synthesized[0]
|
u = self._utterances_being_synthesized[0]
|
||||||
if u.id == sr.utterance_id:
|
if u.id == sr.utterance_id:
|
||||||
u.audio_data.append(sr.audio_data)
|
u.audio_data.append(sr.audio_data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user