saadob12's picture
Update app.py
d2eaa42
raw
history blame
138 Bytes
import streamlit as st
from transformers import pipeline
text = pipeline('sentiment-analysis')
if text:
out = pipe(text)
st.json(out)