Bert-Team / app.py
astart01's picture
Update app.py
ac9864f verified
raw
history blame contribute delete
450 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 == "Анализ отзывов":
analysis.run()