# Loading AI Generate Text

**URL:** <https://community.glideapps.com/t/loading-ai-generate-text/75756>\
**Category:** Ask for Help\
**Created:** [August 21, 2024, 9:09am UTC](https://community.glideapps.com/t/loading-ai-generate-text/75756 "2024-08-21T09:09:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Georgia\_Georgiou](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/georgia_georgiou/32/62978_2.png) [@Georgia\_Georgiou](https://community.glideapps.com/u/Georgia_Georgiou)\
**Post date:** [August 21, 2024, 9:09am UTC](https://community.glideapps.com/t/loading-ai-generate-text/75756/1 "2024-08-21T09:09:07Z")

</div>

Hello there,  
I have a plan that I generate through Glide AI Generate Text and it takes a bit to load. How can I show a hint while it is loading? In the front-end I am showing the AI result column and I tried to show the hint while the column is empty but it won’t show. In the backend while the text is loading it has a loading indicator. What is the value to that?  
Thank you!!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 22, 2024, 12:11am UTC](https://community.glideapps.com/t/loading-ai-generate-text/75756/2 "2024-08-22T00:11:25Z")

</div>

If you have an If-Then-Else column to check if the AI column value is empty or not, does it return the right state?

---

<div class="post-metadata">

**Author:** ![SpyrosTsouk](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@SpyrosTsouk](https://community.glideapps.com/u/SpyrosTsouk)\
**Post date:** [November 22, 2024, 6:34pm UTC](https://community.glideapps.com/t/loading-ai-generate-text/75756/3 "2024-11-22T18:34:13Z")

</div>

Hi @ThinhDinh

Does the above work?

I tried checking the state, but it gets in “loading” mode as well.

Thanks!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 23, 2024, 12:29am UTC](https://community.glideapps.com/t/loading-ai-generate-text/75756/4 "2024-11-23T00:29:16Z")

</div>

I guess that doesn’t work. Maybe you can add a column to count the text length for the AI result? I haven’t tried, probably that gets stuck in a loading state as well.

---

<div class="post-metadata">

**Author:** ![Hassan\_Nadeem](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hassan_nadeem/32/72956_2.png) [@Hassan\_Nadeem](https://community.glideapps.com/u/Hassan_Nadeem)\
**Post date:** [November 23, 2024, 12:50am UTC](https://community.glideapps.com/t/loading-ai-generate-text/75756/5 "2024-11-23T00:50:23Z")

</div>

Yeah unfortunately that doesn’t work either, and I need a solution for this as well.

Is it possible to create a CSS that displays a component based on the visibility of another component? For example, could we add a Hint Box to indicate loading and ensure it’s visible only when the Rich Text Component (AI result) is not displayed on the screen?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 23, 2024, 12:55am UTC](https://community.glideapps.com/t/loading-ai-generate-text/75756/6 "2024-11-23T00:55:24Z")

</div>

Or maybe just let the app see an AI column as empty when the full response isn’t available…

---

<div class="post-metadata">

**Author:** ![SpyrosTsouk](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@SpyrosTsouk](https://community.glideapps.com/u/SpyrosTsouk)\
**Post date:** [November 23, 2024, 12:18pm UTC](https://community.glideapps.com/t/loading-ai-generate-text/75756/7 "2024-11-23T12:18:23Z")

</div>

It appears as loading

I will change my flow to address this

Thanks!
