only my first line of code is updated and further code is not updating
this was my code in vs
and the result is
only my first line of code is updated and further code is not updating
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.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.