Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
PeterBlake01
/
test
like
0
Runtime error
App
Files
Files
Community
5cc8c11
test
/
app.py
PeterBlake01
Update app.py
5cc8c11
verified
2 months ago
raw
history
blame
No virus
179 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe =pipeline(
'Sentiment analysis'
)
text = st.text_area(
"entrer un text"
)
if
text:
out = pipe(text)
st.json(out)