import dashboard_text2image import dashboard_image2image import dashboard_featurefinder import streamlit as st PAGES = { "Text to Image": dashboard_text2image, "Image to Image": dashboard_image2image, "Feature in Image": dashboard_featurefinder, } st.sidebar.title("Navigation") selection = st.sidebar.radio("Go to", list(PAGES.keys())) page = PAGES[selection] page.app()