我已经在我的项目中使用googlespeech to text api两年多了,它工作得很好,但我一开始就开始出错了。 识别错误。Java.lang.Thread.run上的ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) (Thread.java:761) 我在android和ios中使用了相同的api
实际上,我使用它作为Google函数的Python代码:
我无法在speech_v1文件中正确导入requirements.txt库。pip_download_wheels had stderr output:\nERROR: Could not find a version that satisfies the requirement google-cloud-speech-v1from -r requirements.txt (line 3)) (from versions: none)\nERROR: No matc
to use another API key, use `r.recognize_google(audio, key="GOOGLE_SPEECH_RECOGNITION_API_KEY")`# instead of `r.recognize_google(audio)`
print("GoogleSpeech Recognition thinks you said " + r.recognize_<e
我有一个Google Cloud函数,在其中我使用Python库调用了两个外部requests.get (或requests.post ),一个API和另一个URL。Cloud Speech- to -Text API,并获得转录后的文本,我想将其发布到另一个网址。[transcribe the audio using Speech-to-Text API, get the transcibed text]
data = { "download_url": downl