Log level change
This commit is contained in:
parent
9245b319d2
commit
f33a634902
1 changed files with 1 additions and 1 deletions
|
@ -1355,7 +1355,7 @@ class Story(object):
|
||||||
# The 'is_final' from google sometimes comes 2 sec after finishing speaking
|
# The 'is_final' from google sometimes comes 2 sec after finishing speaking
|
||||||
# therefore, we ignore the timing of this transcription if something has been said already
|
# therefore, we ignore the timing of this transcription if something has been said already
|
||||||
if e['is_final'] and utterance.hasText():
|
if e['is_final'] and utterance.hasText():
|
||||||
self.logger.warning(f'ignore timing: {now} use {utterance.lastUpdateTime}')
|
self.logger.debug(f'ignore timing: {now} use {utterance.lastUpdateTime}')
|
||||||
utterance.setText(e['transcript'], utterance.lastUpdateTime)
|
utterance.setText(e['transcript'], utterance.lastUpdateTime)
|
||||||
else:
|
else:
|
||||||
utterance.setText(e['transcript'], now)
|
utterance.setText(e['transcript'], now)
|
||||||
|
|
Loading…
Reference in a new issue