Streamlit not working following docs

Used the documentation below:

https://lightning.ai/docs/app/stable/workflows/add_web_ui/streamlit/basic.html#run-a-basic-streamlit-app

Produced error:
AttributeError: module ‘lightning’ has no attribute ‘LightningFlow’