test-app / app.py
I2C-UHU's picture
Update app.py
8f12f06
import streamlit as st
from transformers import pipeline
pipe = pipeline('Seethal/sentiment_analysis_generic_dataset')
text = st.text_area('Enter some text!')
if text:
out = pipe(text)
st.json(out)