Troubleshooting of Google cloud speech to text: Difference between revisions
| Line 107: | Line 107: | ||
Solution: (1) Use the short audio file which shorter than 1 min or (2) Modify the uri from {{kbd | key=<nowiki>speech:recognize</nowiki>}} to {{kbd | key=<nowiki>speech:longrunningrecognize</nowiki>}} for long audio file which longer than 1 min | Solution: (1) Use the short audio file which shorter than 1 min or (2) Modify the uri from {{kbd | key=<nowiki>speech:recognize</nowiki>}} to {{kbd | key=<nowiki>speech:longrunningrecognize</nowiki>}} for long audio file which longer than 1 min | ||
== sample_rate_hertz (16000) in RecognitionConfig must either be unspecified or match the value in the FLAC header == | == sample_rate_hertz (16000) in RecognitionConfig must either be unspecified or match the value in the FLAC header == | ||