Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
AnshuK23
/
Customer-review-analysis
like
1
Build error
App
Files
Files
Fetching metadata from the HF Docker repository...
main
Customer-review-analysis
/
app.py
AnshuK23
Update app.py
fcdb6de
over 3 years ago
raw
Copy download link
history
blame
Safe
175 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)