Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Aman30577
/
demo-app
like
0
Sleeping
App
Files
Files
Community
e3a7c40
demo-app
/
app.py
Aman30577
Create app.py
16e898b
over 1 year ago
raw
Copy download link
history
blame
Safe
179 Bytes
import
streamlit
as
st
from
transformers
import
pipiline
pipe = pipiline(
'sentiment-analysis'
)
text = st.text_are(
'Enter Some Text!'
)
if
text :
out = pipe(text)
st.json(out)