Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
gofeco
/
askeco
like
0
Sleeping
App
Files
Files
Community
f1aebfb
askeco
/
app.py
gofeco
Update app.py
f1aebfb
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'
)
test = st.text_area(
"enter text"
)
if
text:
out = pipe(text)
st.json(out)