File size: 172 Bytes
c559868
 
 
 
fe3dc0b
cc67691
 
1
2
3
4
5
6
7
import streamlit as st
from transformers import pipeline

classifier = pipeline("sentiment-analysis")
input=st.text_input('write your text:')
classifier(input)
if st.button