Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Nikola299
/
test
like
0
Sleeping
App
Files
Files
Community
445c6fa
test
/
app.py
Nikola299
Update app.py
445c6fa
verified
5 months ago
raw
Copy download link
history
blame
Safe
181 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-analysys'
)
text = st.text_area(
"Enter text...."
)
if
text:
out = pipe(text)
st.json(out)