nlp / app.py
astart01's picture
Update app.py
3cea361 verified
raw
history blame contribute delete
446 Bytes
import streamlit as st
import bert
import perv
st.set_page_config(page_title="Объединённое NLP-приложение", layout="wide")
st.sidebar.title("Меню")
choice = st.sidebar.radio("Выберите модуль:", [
"Оценка токсичности",
"Анализ отзывов"
])
if choice == "Оценка токсичности":
bert.run()
elif choice == "Анализ отзывов":
perv.run()