Help with gemini

Hello, I am a beginner and I need help with implementing gemini into my app, I used this tutorial, Getting Started with Google Gemini API , but whenever I try and run my code, it is stuck on this screen and does not generate a response, this is my 1st time putting an API into an app. I would like to have this issue resolved by 13th October please.

Thanks!

The screen

My code

This is my project, go to diet page Thunkable

hello ayan

i can help u, talk on whatsapp. i fixed it by The way