Skip to content

Commit d5360f2

Browse files
authored
Merge pull request #581 from watson-developer-cloud/fix-docs
Fix docs
2 parents 5b18a2b + b1a7f44 commit d5360f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

watson_developer_cloud/speech_to_text_v1.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def recognize(self,
231231
**See also:** [Making a multipart HTTP
232232
request](https://console.bluemix.net/docs/services/speech-to-text/http.html#HTTP-multi).
233233
234-
:param str audio: The audio to transcribe in the format specified by the
234+
:param file audio: The audio to transcribe in the format specified by the
235235
`Content-Type` header.
236236
:param str content_type: The type of the input.
237237
:param str model: The identifier of the model that is to be used for the
@@ -520,7 +520,7 @@ def create_job(self,
520520
**See also:** [Audio
521521
formats](https://console.bluemix.net/docs/services/speech-to-text/audio-formats.html).
522522
523-
:param str audio: The audio to transcribe in the format specified by the
523+
:param file audio: The audio to transcribe in the format specified by the
524524
`Content-Type` header.
525525
:param str content_type: The type of the input.
526526
:param str model: The identifier of the model that is to be used for the
@@ -1925,7 +1925,7 @@ def add_audio(self,
19251925
* Do not include spaces, slashes, or backslashes in the name.
19261926
* Do not use the name of an audio resource that has already been added to the
19271927
custom model.
1928-
:param str audio_resource: The audio resource that is to be added to the custom
1928+
:param file audio_resource: The audio resource that is to be added to the custom
19291929
acoustic model, an individual audio file or an archive file.
19301930
:param str content_type: The type of the input.
19311931
:param str contained_content_type: For an archive-type resource, specifies the

0 commit comments

Comments
 (0)