Chadbot / app.py
Trickster007's picture
dep
0d5347f
raw
history blame contribute delete
177 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline('sentiment-analysis')
text = st.text_area('type here')
if text :
out = pipe(text)
st.json(out)