# Text generation model returns an error on Spaces

**URL:** <https://discuss.huggingface.co/t/text-generation-model-returns-an-error-on-spaces/67809>\
**Category:** Beginners\
**Created:** [January 3, 2024, 12:30pm UTC](https://discuss.huggingface.co/t/text-generation-model-returns-an-error-on-spaces/67809 "2024-01-03T12:30:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flops2081](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@flops2081](https://discuss.huggingface.co/u/flops2081)\
**Post date:** [January 3, 2024, 12:30pm UTC](https://discuss.huggingface.co/t/text-generation-model-returns-an-error-on-spaces/67809/1 "2024-01-03T12:30:32Z")

</div>

I want to try a text generation model but It returns an error when I click “submit”.  
I have created my spaces with GPU.

 ![Screenshot 2024-01-03 at 20.11.21](https://us1.discourse-cdn.com/hellohellohello/original/3X/b/9/b9a757c7b8a9bed3c100a1844c519f94417ca0a0.png)
