IBM / watson-streaming-stt

Example of using Watson's Streaming Speech to Text websockets interface for real time transcription. Written in Python. WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
29 stars 29 forks source link

Credentials in call to WebSocketApp #3

Closed webcast33 closed 6 years ago

webcast33 commented 6 years ago

Your coding example here looks exactly like what I need for my project. The problem is that I can't get past the WebSocketApp call because of 401 (Not Authorized) handshake status codes. The IBM Bluemix screen for Watson STT no longer returns a username and password. I do have an API key, but I can't figure out how to pass it to WebSocketApp to make a connection.

Could you please explain or perhaps update the Python script? Thank you very much.

sdague commented 6 years ago

should be fixed in master now with new example

webcast33 commented 6 years ago

Worked perfectly! Thank you very much.