Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
kmanoj
/
Sentiment_Analysis
like
1
Runtime error
App
Files
Files
Community
20240f4
Sentiment_Analysis
/
app.py
kmanoj
initial commit
20240f4
9 months ago
raw
history
blame
No virus
187 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe=pipeline(
'sentiment-analysis'
)
text=st.text_area(
'Enter you text here......'
)
if
text:
out=pipe(text)
st.json(out)