# Getting corrupt audio files while using text to speech models

**URL:** <https://discuss.huggingface.co/t/getting-corrupt-audio-files-while-using-text-to-speech-models/85171>\
**Category:** Beginners\
**Created:** [May 4, 2024, 6:51pm UTC](https://discuss.huggingface.co/t/getting-corrupt-audio-files-while-using-text-to-speech-models/85171 "2024-05-04T18:51:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Praneethkr](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@Praneethkr](https://discuss.huggingface.co/u/Praneethkr)\
**Post date:** [May 4, 2024, 6:51pm UTC](https://discuss.huggingface.co/t/getting-corrupt-audio-files-while-using-text-to-speech-models/85171/1 "2024-05-04T18:51:08Z")

</div>

I followed a course on youtube and tried it but Im stuck here and im only getting corrput audio files after code execution. I removed api token in image but im using it in execution

![image_2024-05-05_002018605](https://us1.discourse-cdn.com/hellohellohello/original/3X/6/6/667764aa41baea05adc6fafb4bca01096879058f.png)
