File size: 219 Bytes
ff874f4
e6cb400
0c3d163
ff874f4
0c3d163
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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)