modify tts audio handle
This commit is contained in:
parent
dde41769bf
commit
7cbe6d073b
@ -95,9 +95,7 @@ class TTSAudioSplitHandle(TTSAudioHandle):
|
||||
if current == self._current:
|
||||
self._current = self._current + 1
|
||||
chunks = heapq.heappop(self._priority_queue)[1]
|
||||
if chunks is None:
|
||||
pass
|
||||
else:
|
||||
if chunks is not None:
|
||||
for chunk in chunks:
|
||||
self.on_next_handle(chunk, 0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user