Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
gofeco
/
askeco
like
0
Sleeping
App
Files
Files
Community
b5a732c
askeco
/
app.py
gofeco
Update app.py
b5a732c
verified
8 months ago
raw
Copy download link
history
blame
Safe
180 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-analysis'
)
text = st.text_area(
"enter text"
)
if
text:
out = pipe(text)
st.json(out)