diff --git a/speech/grpc/requirements.txt b/speech/grpc/requirements.txt index 9c16ece6326..a5e2d806a5d 100644 --- a/speech/grpc/requirements.txt +++ b/speech/grpc/requirements.txt @@ -1,6 +1,6 @@ grpcio==1.1.0 PyAudio==0.2.10 -grpc-google-cloud-speech-v1beta1==0.14.0 +proto-google-cloud-speech-v1beta1==0.15.0 six==1.10.0 requests==2.13.0 google-auth==0.7.0 diff --git a/speech/grpc/transcribe.py b/speech/grpc/transcribe.py index 1e15fcf1104..399be275c47 100644 --- a/speech/grpc/transcribe.py +++ b/speech/grpc/transcribe.py @@ -24,7 +24,7 @@ import google.auth import google.auth.transport.grpc import google.auth.transport.requests -from google.cloud.grpc.speech.v1beta1 import cloud_speech_pb2 +from google.cloud.proto.speech.v1beta1 import cloud_speech_pb2 # Keep the request alive for this many seconds DEADLINE_SECS = 60 diff --git a/speech/grpc/transcribe_async.py b/speech/grpc/transcribe_async.py index 3bda3c4604e..c0cd49cfb1a 100644 --- a/speech/grpc/transcribe_async.py +++ b/speech/grpc/transcribe_async.py @@ -28,7 +28,7 @@ import google.auth import google.auth.transport.grpc import google.auth.transport.requests -from google.cloud.grpc.speech.v1beta1 import cloud_speech_pb2 +from google.cloud.proto.speech.v1beta1 import cloud_speech_pb2 from google.longrunning import operations_pb2 # Keep the request alive for this many seconds diff --git a/speech/grpc/transcribe_streaming.py b/speech/grpc/transcribe_streaming.py index a4c33747697..33f3991638d 100644 --- a/speech/grpc/transcribe_streaming.py +++ b/speech/grpc/transcribe_streaming.py @@ -26,7 +26,7 @@ import google.auth import google.auth.transport.grpc import google.auth.transport.requests -from google.cloud.grpc.speech.v1beta1 import cloud_speech_pb2 +from google.cloud.proto.speech.v1beta1 import cloud_speech_pb2 from google.rpc import code_pb2 import grpc import pyaudio