Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
dawng88
/
sachacks2023
like
0
Runtime error
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
5653935
sachacks2023
/
app.py
dawng88
Create app.py
5653935
about 1 year ago
raw
Copy download link
history
blame
Safe
178 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-analysis'
)
text. st.text_area(
'enter some text:'
)
if
text:
out = pipe(text)
st.json(out)