Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
krishnasai99
/
NLP
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
2103e4a
NLP
/
app.py
krishnasai99
Update app.py
ead954e
over 2 years ago
raw
Copy download link
history
blame
201 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)