# Speech to text using whisper timestamped and gradio

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspeech-to-text-using-whisper-timestamped-and-gradio%2F56486%3E%5C
**Category:** Intermediate\
**Created:** [September 26, 2023, 9:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspeech-to-text-using-whisper-timestamped-and-gradio%2F56486 "2023-09-26T21:03:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelschell](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@michaelschell](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmichaelschell)%5C
**Post date:** [September 26, 2023, 9:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspeech-to-text-using-whisper-timestamped-and-gradio%2F56486%2F1 "2023-09-26T21:03:45Z")

</div>

I am working on a speech to text app using whisper-timestamped and gradio. When I started this project, this all worked fine. Within the last week I have started getting this error:  
ValueError: This ORT build has [‘AzureExecutionProvider’, ‘CPUExecutionProvider’] enabled. Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession.  
And now I am trying to figure out how to resolve this. Any insights or suggestions would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![michaelschell](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@michaelschell](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmichaelschell)%5C
**Post date:** [September 28, 2023, 2:20am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspeech-to-text-using-whisper-timestamped-and-gradio%2F56486%2F2 "2023-09-28T02:20:25Z")

</div>

I have worked through that error, but now I am getting this:  
TypeError: Unable to load from type ‘\<class ‘whisper.model.Whisper’\>’  
The main thing that I am not understanding is why did my app work before, but now I am having all of these issues.

---

<div class="post-metadata">

**Author:** ![LukeVinton](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@LukeVinton](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FLukeVinton)%5C
**Post date:** [October 3, 2023, 11:21am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspeech-to-text-using-whisper-timestamped-and-gradio%2F56486%2F3 "2023-10-03T11:21:05Z")

</div>

Hi @michaelschell. I’m seeing the same error related to the ORT build. How did you manage to fix the problem?
