File size: 162 Bytes
9f27a52
75855be
42c2597
9f27a52
 
ece6dcf
9f27a52
 
1
2
3
4
5
6
7
8
import streamlit as st
from transformers import pipeline

pipe = pipeline('sentiment-analysis')
text = st.text_area('enter some text:')

if text:
    out = pipe()