Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
renatotn7
/
EspacoTeste
like
1
Runtime error
App
Files
Files
Community
211de1d
EspacoTeste
/
app.py
renatotn7
Create app.py
ff2e3f8
over 1 year ago
raw
Copy download link
history
blame
178 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-analysis'
)
text = st.text_area(
'entre com algum texto'
)
if
text:
out pipe(text)
st.json(out)