nlp / app.py
astart01's picture
Upload 6 files
2b13982 verified
raw
history blame
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()