diff --git a/speech_recognition/recognizers/google_cloud.py b/speech_recognition/recognizers/google_cloud.py index cd6ccdd4..5c5a7f62 100644 --- a/speech_recognition/recognizers/google_cloud.py +++ b/speech_recognition/recognizers/google_cloud.py @@ -7,7 +7,7 @@ from speech_recognition.exceptions import RequestError, UnknownValueError if TYPE_CHECKING: - from google.cloud.speech_v1.types import ( + from google.cloud.speech import ( RecognitionConfig, RecognizeResponse, SpeechContext,