Open willwade opened 1 year ago
client = WatsonClient(credentials=('SOMEKEY', 'https://gateway-lon.watsonplatform.net/text-to-speech/api')) tts = WatsonTTS(client=WatsonClient()) tts.synth('<speak>some text'</speak>', 'mysound.wav', format='wav')
This gives you TypeError: WatsonClient.__init__() missing 1 required positional argument: 'credentials'
TypeError: WatsonClient.__init__() missing 1 required positional argument: 'credentials'
But looking at the docs - I cant see I'm missing any credential ?
ive altered this in #25 - watson now has api_key, region, instance_id (good luck on finding your instance id! Watson have such confusing systems for their url/endpoints etc)
Prerequisites
Description
This gives you
TypeError: WatsonClient.__init__() missing 1 required positional argument: 'credentials'
But looking at the docs - I cant see I'm missing any credential ?