Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
vivek0211
/
demo-app
like
0
Sleeping
App
Files
Files
Community
f060f8d
demo-app
/
app.py
vivek0211
app.py
1d91ab0
verified
2 months ago
raw
history
blame
No virus
178 Bytes
import
streamlit
as
st
from
transformer
import
pipeline
pipe=pipeline(
'sentiment-analysis'
)
text=st.text_area(
'Enter Text Here!!!'
)
if
text:
out=pipe(text)
st.json(out)