nlp-lstm-team / app.py
Rzhishchev's picture
Update app.py
2088f46
raw
history blame
No virus
312 Bytes
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()