Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
nobari
/
test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
test
/
app.py
nobari
first app
7b12363
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
192 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-analysis'
)
input
= st.text_area(
'write something'
)
if
input
:
output = pipe(
input
)
st.json(output)