leavoigt's picture
Update app.py
ecc8799
raw
history blame
205 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline('sentiment-analysis')
text = st.text_area('enter your text here')
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)