math_app / app.py
SagarKeshave's picture
init
227be8b verified
raw
history blame
176 Bytes
import streamlit as st
from transformers import pipelie
pipe = pipelie("sentiment-analysis")
text = st.text_area("Enter text")
if text:
out = pipe(text)
st.json(out)