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