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