404 resource not found

Sahba Vacha 20 Reputation points
2023-09-30T20:13:53.84+00:00

I am working on a speech project and I am using the latest version speech SDK. I can not set it up as I continue getting 404 not found error. Surprisingly, I can make it in speech studio. How I should fix it in SDK?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,962 questions
0 comments No comments
{count} votes

Accepted answer
  1. YutongTie-MSFT 52,856 Reputation points
    2023-09-30T20:38:53.69+00:00

    Hello @Sahba Vacha

    Thanks for reaching out to us. Please make sure that you set the SPEECH_KEY and SPEECH_REGION environment variables as described in Set environment variables. If you don't set these variables, the sample fails with an error message.

    More information please refer to the document here - https://learn.microsoft.com/en-us/azure/ai-services/speech-service/get-started-speech-to-text?tabs=linux%2Cterminal&pivots=programming-language-python#set-up-the-environment

    I hope this helps, please let me know if you have any other questions.

    Regards,

    Yutong

    -Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.