StreamingRecognize() throws TypeError.
In which file did you encounter the issue?
https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/microphone/transcribe_streaming_mic.py
Did you change the file? If so, how?
No. But using the same but trimmed version of .proto file which uses a GCP server. This should not matter anyhow. A connection call is not made . The error comes before it makes a call to the server.
Describe the issue
I am trying to run the application, using the similar .proto file which uses a GCP server. But it gives me the following error. I am not able to point why the errors is coming. I cannot specify the timeout in '_StreamStreamMultiCallable' class. The timeout object is somehow 'generator' type and not time.time() type. Where can i specify this?
Traceback (most recent call last):
File "transcribe_streaming_mic.py", line 193, in
My bad. The API i was using was not of GCloud. Although it was similar. Got the solution now.