Friends, this is my first post and I need your help please .
Basically, I already have a fully functional app for what I need it for, however, there is a small change I need to make to one of the functions to improve the app. Itās just adding a button, but when I add that to my master code (thatās what I call my base code that does work) then when I deploy the app in Streamlit I only get a blank screen (I attach a screenshot)
That blank space on the right side is the error Iām referring to. It happens EVERY time I try to add code to my master code. Even the smallest line of code causes that. Sure, then I simply go back to my master code and everything runs as it should. But I canāt add the new function I need.
Iāve even asked GPT to review my code and I still donāt understand what the error is. Streamlit doesnāt give me an error message like when it comes to the code, only the screen goes blank, and although I can navigate to the other sections of my app nothing is shown at all, just the blank screen.
The problem is this: I have the master code of my app, when I deploy THAT code the app works perfectly. To show you the problem, before sharing the repo with you, I deployed the new code (the one with the new functions I want to add) and it results in a blank screen.
Now, I redeployed the app, and if you log in with the credentials (which you can find inside the code) you will be able to see the app with all the functionalities.
The error itself, and why I am here asking for help, is because I cannot understand why when I try to add some new functionality to the master code, whatever it may be, even if it is just a line of code, when I deploy it it gives me that error of the blank screen.
If you enter the repo now and try to deploy the app, you will see that it works as it should.
I deployed your updated code and I logged in with āSgomezā, āA1B2C3D4ā. A message āHas iniciado sesión correctamente.ā appeared in the sidebar, but nothing outside it.
Yes, you were absolutely right mate. The problem had to do with the indentation, and even though I asked GPT to verify that the indentation was correct, it kept getting it wrong. Since my knowledge of programming is zero, I couldnāt realize the indentation problem.
An apology, and thank you very much for your help friend. I really appreciate it!