Demo / app.py
pavithrav's picture
Create app.py
00aff5e
raw
history blame
No virus
177 Bytes
import streamlit as st
from transformers import pipeline
pipe=pipeline('sentiment_analysis')
text=st.text_area('enter your text')
if text:
result=pipe(text)
st.json(result)