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.