Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
DeadfoxX
/
souleater-diffusion2
like
0
No application file
App
Files
Files
Community
1064181
souleater-diffusion2
/
app.py
DeadfoxX
Create app.py
1064181
over 1 year ago
raw
Copy download link
history
blame
No virus
187 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)