typo
This commit is contained in:
parent
5766367402
commit
402baee48e
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class SampleAssistant(object):
|
||||||
if resp.speech_results:
|
if resp.speech_results:
|
||||||
self.detected_speech = ' '.join(
|
self.detected_speech = ' '.join(
|
||||||
r.transcript.strip() for r in resp.speech_results
|
r.transcript.strip() for r in resp.speech_results
|
||||||
if len(r).strip()).strip()
|
if len(r.transcript.strip())).strip()
|
||||||
|
|
||||||
logging.info('Transcript of user request: "%s".', self.detected_speech)
|
logging.info('Transcript of user request: "%s".', self.detected_speech)
|
||||||
if len(resp.audio_out.audio_data) > 0:
|
if len(resp.audio_out.audio_data) > 0:
|
||||||
|
|
Loading…
Reference in a new issue