IBM / Train-Custom-Speech-Model

Create a custom Watson Speech to Text model using specialized domain data
https://developer.ibm.com/patterns/customize-and-continuously-train-your-own-watson-speech-service/
Apache License 2.0
59 stars 42 forks source link

python commands: uri of service is hardcoded #78

Open fpservant opened 4 years ago

fpservant commented 4 years ago

eg. uri = "https://stream.watsonplatform.net/speech-to-text/api/v1/customizations" when one may have to use "https://stream-fra.watsonplatform.net/speech-to-text/api/v1/customizations" (of course, solution is easy using an env variable) Best, fps

tonanhngo commented 4 years ago

Thank you for pointing this out. I will add a check for the env variable and use a default if it is not set. Ton Ngo,