Simple Gradio app is stuck on building and/or having exitCode 1

Mine was stuck in building., until I noticed that there was an error in a commit.

Basically, I edited a file and the commit had not been registered for some reason, that’s why it was taking forever to build. I did the commit again, and it worked.