import home import text2image import image2image import streamlit as st st.set_page_config(layout="wide") st.sidebar.title("Multi-task Vision–Language AI for Pathology") PAGES = { "Introduction": home, "Text to Image": text2image, "Image to Image": image2image, } page = st.sidebar.radio("", list(PAGES.keys())) PAGES[page].app()