Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Abysss
/
PaddleHub
like
0
Runtime error
App
Files
Files
Community
41c4692
PaddleHub
/
app.py
Abysss
init!
50c2cd8
almost 2 years ago
raw
Copy download link
history
blame
171 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe=pipeline(
'sentiment-analysis'
)
text=st.text_area(
'enter some text'
)
if
text:
out=pipe(text)
st.json(out)