Troubleshooting of Google cloud speech to text: Difference between revisions
Jump to navigation
Jump to search
Troubleshooting of Google cloud speech to text (edit)
Revision as of 16:07, 16 August 2020
, 16 August 2020→Request payload size exceeds the limit: 10485760 bytes
| 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 == | ||