Streamlit Local Server always loads up the same old script

Hi,

I wrote a script the other day and have been depolying it as below in python.

streamlit run Streamlit.py --server.port 5998

For some reason, no matter what I do, it always loads up an old versin of the script, even if I dont have it open…

Is there a way to ‘kill’ everything so i can run my script fresh.

thankyou

The obvious thing to triple-check is that Streamlit.py contains what you expect it to. On a mac or linux machine, you could do cat Streamlit.py (on Windows it would probably be type Streamlit.py) and make sure it contains the code you expect.

If that is the case, you might try deleting any .pyc files in that folder, though I don’t actually think that would matter.

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