Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Nikola299
/
test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
1a40e72
test
/
app.py
Nikola299
Update app.py
ad4c825
verified
5 months ago
raw
Copy download link
history
blame
Safe
181 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)