My code is not updating

only my first line of code is updated and further code is not updating


this was my code in vs
and the result is

First make sure your file has been saved with your updates. Updates need to be saved to disk to reflect in the running app.

If that’s not it, I have observed some regressions in the file watcher in recent versions. Especially if the app has been running but unused for 15-30min or more, you may need to stop the app and reinitialize it. (Ctrl+C in your terminal, then streamlit run your_app.py to start fresh.)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.