Update development.py

Corrige erro de parêntese não casado em development.py
This commit is contained in:
VectorAICreations 2025-05-25 15:38:12 -03:00 committed by GitHub
parent 1d489b7225
commit 230ae908a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -226,8 +226,6 @@ async def create_captioned_speech(
# Add any chunks that may be in the acumulator into the return word_timestamps # Add any chunks that may be in the acumulator into the return word_timestamps
if chunk_data.word_timestamps is not None: if chunk_data.word_timestamps is not None:
chunk_data.word_timestamps = (timestamp_acumulator or []) + (chunk_data.word_timestamps or []) chunk_data.word_timestamps = (timestamp_acumulator or []) + (chunk_data.word_timestamps or [])
)
timestamp_acumulator = [] timestamp_acumulator = []
else: else:
chunk_data.word_timestamps = [] chunk_data.word_timestamps = []