mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
Update development.py
Corrige erro de parêntese não casado em development.py
This commit is contained in:
parent
1d489b7225
commit
230ae908a0
1 changed files with 0 additions and 2 deletions
|
@ -226,8 +226,6 @@ async def create_captioned_speech(
|
|||
# Add any chunks that may be in the acumulator into the return word_timestamps
|
||||
if chunk_data.word_timestamps is not None:
|
||||
chunk_data.word_timestamps = (timestamp_acumulator or []) + (chunk_data.word_timestamps or [])
|
||||
|
||||
)
|
||||
timestamp_acumulator = []
|
||||
else:
|
||||
chunk_data.word_timestamps = []
|
||||
|
|
Loading…
Add table
Reference in a new issue