Unknown Syntax Error In Google Aiy Voice Kit Code
When running the following code there is a syntax error. I have researched and the syntax error happens for no reason that I know. The syntax error is: File 'src/cloudspeech_demo.p
Solution 1:
Change
to_repeat = text.replace9'repeat after me', '', 1)
to
to_repeat = text.replace('repeat after me', '', 1)
You accidentally typed a 9
instead of a (
, which makes sense since they are on the same key. You probably forgot to click shift.
Post a Comment for "Unknown Syntax Error In Google Aiy Voice Kit Code"