From 3e7d3af13ef1c7a681d4f33bff8fa16e5a5a7c62 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) --- google-cloud-speech/samples/snippets/README.rst | 2 +- google-cloud-speech/samples/snippets/transcribe.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-speech/samples/snippets/README.rst b/google-cloud-speech/samples/snippets/README.rst index ba9710e1c365..cd798d24946b 100644 --- a/google-cloud-speech/samples/snippets/README.rst +++ b/google-cloud-speech/samples/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/google-cloud-speech/samples/snippets/transcribe.py b/google-cloud-speech/samples/snippets/transcribe.py index 5d7b0717f30f..829cec5dd5da 100644 --- a/google-cloud-speech/samples/snippets/transcribe.py +++ b/google-cloud-speech/samples/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]