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)