Spaces:
No application file

ML / app.py
dinssync's picture
Create app.py
f9e90c2
Raw History Blame Contribute Delete
183 Bytes
import streamlit as st
form transformers import pipeline
pipe = pipeline('sentiment-analysis')
text = st.text_area('enter some text!')
if text:
out = pipe(text)
st.json(out)