CoolFace
Apppublic

Nosferath/Tutorial

sourceHugging Faceupdated 5y agoView on Hugging Face
0likes
app.py8 linesDownload Raw Back to root
1import streamlit as st2from transformers import pipeline3st.title('Ejemplo en Hugging Face')4pipe = pipeline('sentiment-analysis')5text = st.text_area('enter some text')6if text:7    out = pipe(text)8    st.json(out)