Spaces:
Sleeping
Sleeping
import streamlit as st | |
from transformers import | |
pipe = pipeline("sentiment analysis") | |
text = st.textarea("enter some text") | |
if text: | |
out = pipe(text) | |
st.json(out) |