hello_space / app.py
1Smile's picture
Update app.py
4aa9f7d
raw
history blame contribute delete
173 Bytes
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)