Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
XspydazX
/
demo
like
0
Running
App
Files
Files
Community
ad60242
demo
/
app.py
XspydazX
app.py
ad60242
about 2 years ago
raw
Copy download link
history
blame
170 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
"sentiment-anaylsys"
)
text = st.text_area(
"Enter some text"
)
if
text:
out=pipe(text)
st.json(out)