Excited to share the add on streamlit_pages for streamlit which helps you to add navigation/menu. You can run multiple apps. You can share a particular page.
I have done using streamlit session state and query parameters. This cannot be done without inspiration from upraneelnihar and streamlit discussion forum. Thanks a lot for streamlit
That’s a cool app, thanks for sharing it with us on the forum!
Happy Streamlitin’!
Best,
Charly
I am trying to run the Github example, but it fails at the imports:
import streamlit as st
import streamlit_pages.streamlit_pages import MultiPage
def home():
I edited, but then …
import streamlit as st
import streamlit_pages.streamlit_pages
import MultiPage
def home():
I get:
import MultiPage
ModuleNotFoundError: No module named ‘MultiPage’
Oh, of course … silly me…
This works:
import streamlit as st
from streamlit_pages.streamlit_pages import MultiPage
Might be good if the author corrected the typo on the Github repo, in order not to confuse more people.
@Venkatesh
Thank you @RayJ
Corrected in the github.