Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
domro11
/
data_dynamos
like
1
Build error
App
Files
Files
Community
9bd4648
data_dynamos
/
app.py
domro11
update app.py
9bd4648
over 1 year ago
raw
Copy download link
history
blame
No virus
191 Bytes
#adding
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)