Skip to content

Commit f5ff10f

Browse files
gguusstelpirion
authored andcommitted
Adds usage examples to api-client samples and fixes copy/paste error in cloud-client/transcribe. [(#782)](#782)
1 parent 6f8513d commit f5ff10f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

speech/snippets/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ To run this sample:
9898
Google Cloud Speech API sample application using the REST API for batch
9999
processing.
100100
101-
Example usage: python translate.py resources/audio.raw
101+
Example usage: python transcribe.py resources/audio.raw
102102
103103
positional arguments:
104104
speech_file Full path of audio file to be recognized

speech/snippets/transcribe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"""Google Cloud Speech API sample application using the REST API for batch
1818
processing.
1919
20-
Example usage: python translate.py resources/audio.raw
20+
Example usage: python transcribe.py resources/audio.raw
2121
"""
2222

2323
# [START import_libraries]

0 commit comments

Comments
 (0)