Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
napoles3d
/
tutorial
like
0
Runtime error
App
Files
Files
Community
2c292e4
tutorial
/
app.py
napoles3d
Create app.py
4abc565
over 2 years ago
raw
history
blame
No virus
216 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
st.title(
'Ejemplo en Hugging Face'
)
pipe = pipeline(
'sentiment-analysis'
)
text = st.text_area(
'enter some text'
)
if
text:
out = pipe(text)
st.json(out)