Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
napoles3d
/
ejemplo1
like
0
Runtime error
App
Files
Files
Community
c006ea3
ejemplo1
/
app.py
napoles3d
Create app.py
c006ea3
about 3 years ago
raw
Copy download link
history
blame
Safe
219 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)