File size: 188 Bytes
1bea7ff
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import streamit as st
from transformers import pipeline

pipe = pipeline("Sentimental Analysis !!")
text = st.text_Area("Enter some text...")

if text:
    out=pipe(text)
    st.json(out)