From 7a3fec5486b8e6d41736c26ce993cf609891ed42 Mon Sep 17 00:00:00 2001 From: Gus Class Date: Fri, 3 Feb 2017 14:20:39 -0800 Subject: [PATCH] Adds usage examples to api-client samples and fixes copy/paste error in cloud-client/transcribe. [(#782)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/782) --- speech/snippets/README.rst | 2 +- speech/snippets/transcribe.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/speech/snippets/README.rst b/speech/snippets/README.rst index ba9710e1c365..cd798d24946b 100644 --- a/speech/snippets/README.rst +++ b/speech/snippets/README.rst @@ -98,7 +98,7 @@ To run this sample: Google Cloud Speech API sample application using the REST API for batch processing. - Example usage: python translate.py resources/audio.raw + Example usage: python transcribe.py resources/audio.raw positional arguments: speech_file Full path of audio file to be recognized diff --git a/speech/snippets/transcribe.py b/speech/snippets/transcribe.py index 5d7b0717f30f..829cec5dd5da 100644 --- a/speech/snippets/transcribe.py +++ b/speech/snippets/transcribe.py @@ -17,7 +17,7 @@ """Google Cloud Speech API sample application using the REST API for batch processing. -Example usage: python translate.py resources/audio.raw +Example usage: python transcribe.py resources/audio.raw """ # [START import_libraries]