Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ccd2885

Browse filesBrowse files
author
Jon Wayne Parrott
committed
Fix grpc conflict in speech samples
Change-Id: I03dd717d6a7389a880fa2cf7d26652256ea0aa58
1 parent d4888bc commit ccd2885
Copy full SHA for ccd2885

File tree

Expand file treeCollapse file tree

4 files changed

+5
-4
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+5
-4
lines changed

‎speech/grpc/requirements.txt

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
google-cloud-core==0.21.0
22
grpcio==1.0.1
33
PyAudio==0.2.9
4-
grpc-google-cloud-speech-v1beta1==1.0.1
4+
grpc-google-cloud-speech-v1beta1==0.11.1
55
six==1.10.0

‎speech/grpc/transcribe.py

Copy file name to clipboardExpand all lines: speech/grpc/transcribe.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import argparse
1919

2020
from google.cloud.credentials import get_credentials
21-
from google.cloud.speech.v1beta1 import cloud_speech_pb2 as cloud_speech
21+
from google.cloud.grpc.speech.v1beta1 import cloud_speech_pb2 as cloud_speech
2222
from grpc.beta import implementations
2323

2424
# Keep the request alive for this many seconds

‎speech/grpc/transcribe_streaming.py

Copy file name to clipboardExpand all lines: speech/grpc/transcribe_streaming.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import sys
2424

2525
from google.cloud import credentials
26-
from google.cloud.speech.v1beta1 import cloud_speech_pb2 as cloud_speech
26+
from google.cloud.grpc.speech.v1beta1 import cloud_speech_pb2 as cloud_speech
2727
from google.rpc import code_pb2
2828
from grpc.beta import implementations
2929
from grpc.framework.interfaces.face import face

‎testing/requirements-dev.txt

Copy file name to clipboardExpand all lines: testing/requirements-dev.txt
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ google-cloud-happybase==0.20.0
2222
google-cloud-language==0.21.0
2323
google-cloud-logging==0.21.0
2424
google-cloud-pubsub==0.21.0
25+
google-cloud-speech==0.21.0
2526
google-cloud-storage==0.21.0
2627
google-cloud-translate==0.21.0
2728
google-cloud-vision==0.21.0
2829
google-cloud==0.21.0
29-
grpc-google-cloud-speech-v1beta1==1.0.1
30+
grpc-google-cloud-speech-v1beta1==0.11.1
3031
grpcio==1.0.1
3132
gunicorn==19.6.0
3233
httplib2==0.9.2

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.