# Text2Speech model pushed to Hub as Text2Audio

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftext2speech-model-pushed-to-hub-as-text2audio%2F57873%3E%5C
**Category:** 🤗Transformers\
**Created:** [October 9, 2023, 7:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftext2speech-model-pushed-to-hub-as-text2audio%2F57873 "2023-10-09T07:47:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stopwolf](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/stopwolf/32/19997_2.png) [@Stopwolf](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FStopwolf)%5C
**Post date:** [October 9, 2023, 7:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftext2speech-model-pushed-to-hub-as-text2audio%2F57873%2F1 "2023-10-09T07:47:10Z")

</div>

Im trying to finish the Audio course and after trying to do the third exercise of fine-tuning SpeechT5 model, after pushing the model to Hub, the model is labeled as text-to-audio and thus isnt considered as a correct submission for the course…

I’ve tried:  
`kwargs = { "dataset_tags": "facebook/voxpopuli", "dataset": "Vox Populi - Lithuanian", "model_name": "speecht5-lt", "finetuned_from": checkpoint, "tasks": "text_to_speech", }`

`trainer.push_to_hub(**kwargs)`

and also just `trainer.push_to_hub()`, but neither seems to work.

---

<div class="post-metadata">

**Author:** ![mmcgovern574](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mmcgovern574](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmmcgovern574)%5C
**Post date:** [December 27, 2023, 10:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftext2speech-model-pushed-to-hub-as-text2audio%2F57873%2F2 "2023-12-27T22:30:04Z")

</div>

I’m having the same issue, did you find a solution?

---

<div class="post-metadata">

**Author:** ![Stopwolf](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/stopwolf/32/19997_2.png) [@Stopwolf](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FStopwolf)%5C
**Post date:** [December 28, 2023, 11:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftext2speech-model-pushed-to-hub-as-text2audio%2F57873%2F3 "2023-12-28T11:05:52Z")

</div>

I think it was something really dumb, like using “\_” instead of “-” in `tasks`…

Here is a working kwargs dict that I ended up using successfully:  
kwargs = {  
“dataset\_tags”: “mozilla-foundation/common\_voice\_13\_0”,  
“finetuned\_from”: checkpoint,  
“tasks”: “text-to-speech”,  
“tags”: “text-to-speech”,  
“language”: “pt”,  
}

trainer.push\_to\_hub(\*\*kwargs)

Hope this helps!
