60d66e9
23330c4
60d66e9
3de8292
60d66e9
|
|
import streamlit as st
from transformers import pipeline
classifier = pipeline('text-classification', model='blanchefort/rubert-base-cased-sentiment-rusentiment')
text = st.text_area('Введите текст!')
if text:
out = classifier(text)
st.json(out) |