nlp-lstm-team / app.py
Rzhishchev's picture
Update app.py
5061eb8
raw
history blame
No virus
267 Bytes
import streamlit as st
import toxic
import gpt2
# PAGES = {
# "Toxic Comment Classifier": toxic,
# "GPT-2 Text Generator": gpt2
# }
st.sidebar.title('Navigation')
selection = st.sidebar.radio("Go to", list(PAGES.keys()))
page = PAGES[selection]
page.app()