Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
abdulllah01
/
Blog-Gen
like
0
Sleeping
App
Files
Files
Community
6766828
Blog-Gen
/
app.py
abdulllah01
Update app.py
50160f2
verified
4 months ago
raw
Copy download link
history
blame
Safe
172 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe=pipeline(
'sentiment-analysis'
)
text=st.text_area(
"Enter Text: "
)
if
text:
out= pipe(text)
print
(out)