Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
JasonTPhillipsJr
/
SpaGAN
like
0
Sleeping
App
Files
Files
Community
ce40a84
SpaGAN
/
app.py
JasonTPhillipsJr
Create app.py
ac736ed
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
182 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipline(
'sentiment-analysis'
)
text = st.text_area(
'enter some text!'
)
if
text:
out = pipe(text)
st.json(out)