Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
PeterBlake01
/
test
like
0
Runtime error
App
Files
Files
Community
3d8f5b0
test
/
app.py
PeterBlake01
Update app.py
3d8f5b0
verified
2 months ago
raw
history
blame
No virus
180 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)