Skip to content

Commit 407d669

Browse files
authored
Update the API code change
The service is change to another domain name. So change the API domain name. The old one will be available till May. We have communicated to the customers.
1 parent dc36294 commit 407d669

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cognitive-services/Speech-Service/quickstarts/text-to-speech/async-synthesis-long-form-audio.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ These modules are used to parse arguments, construct the HTTP request, and call
5454
This code gets a list of available voices that you can use to convert text-to-speech. Add the code to `voice_synthesis_client.py`:
5555

5656
```python
57-
parser = argparse.ArgumentParser(description='Cris client tool to submit voice synthesis requests.')
57+
parser = argparse.ArgumentParser(description='Text-to-speech client tool to submit voice synthesis requests.')
5858
parser.add_argument('--voices', action="store_true", default=False, help='print voice list')
59-
parser.add_argument('-key', action="store", dest="key", required=True, help='the cris subscription key, like ff1eb62d06d34767bda0207acb1da7d7 ')
59+
parser.add_argument('-key', action="store", dest="key", required=True, help='the speech subscription key, like ff1eb62d06d34767bda0207acb1da7d7 ')
6060
parser.add_argument('-region', action="store", dest="region", required=True, help='the region information, could be centralindia, canadacentral or uksouth')
6161
args = parser.parse_args()
62-
baseAddress = 'https://%s.cris.ai/api/texttospeech/v3.0-beta1/' % args.region
62+
baseAddress = 'https://%s.customvoice.api.speech.microsoft.com/api/texttospeech/v3.0-beta1/' % args.region
6363

6464
def getVoices():
6565
response=requests.get(baseAddress+"voicesynthesis/voices", headers={"Ocp-Apim-Subscription-Key":args.key}, verify=False)

0 commit comments

Comments
 (0)