We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f946d69 + 1790ff7 commit f7be21fCopy full SHA for f7be21f
examples/microphone-speech-to-text.py
@@ -36,9 +36,8 @@
36
37
# initialize speech to text service
38
speech_to_text = SpeechToTextV1(
39
- username='YOUR SERVICE USERNAME',
40
- password='YOUR SERVICE PASSWORD',
41
- url='https://stream.watsonplatform.net/speech-to-text/api')
+ iam_apikey='{YOUR_IAM_API_KEY}',
+ url='{YOUR_GATEWAY_URL}')
42
43
# define callback for the speech to text service
44
class MyRecognizeCallback(RecognizeCallback):
0 commit comments