mayurmistry's picture
dd
e6cb400
raw
history blame contribute delete
219 Bytes
import streamlit as st
import transformers
from transformers import pipeline
pipe = pipeline('sentiment-analysis')
text = st.text_area('enter some text')
st.title("Hot Dog or Cold Dog")
if text:
out = pipe(text)