Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
XspydazX
/
demo
like
0
Running
App
Files
Files
Community
main
demo
/
app.py
XspydazX
Update app.py
12c686c
almost 3 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
188 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-anaylsys'
)
text = st.text_area(
'Enter some text'
)
if
text:
out=pipe(text)
st.json(out)