import streamlit as st from gpt2 import app as gpt2_app from toxic import app as toxic_app # Sidebar for page selection page = st.sidebar.selectbox("Choose a page", ["GPT-2", "Toxicity Analysis"]) # Display the selected page if page == "GPT-2": gpt2_app() elif page == "Toxicity Analysis": toxic_app()