sync / app.py
siddhantbapna's picture
Create app.py
7a97afb verified
Raw
History Blame Contribute Delete
189 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline('sentiment-analysis')
text = st.text_area("Enter Something here..")
if text:
out = pipe(text)
st.json(out)