demo / app.py
mahmoud-hussein16's picture
Create app.py
b15193d verified
raw
history blame contribute delete
165 Bytes
import streamlit as st
from transformers import pipeline
pipe = ('sentiment-analysis')
text = st.text_area('enter text')
if text:
out = pipe(text)
st.json(out)