Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
abdulllah01
/
Blog-Gen
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
50160f2
Blog-Gen
/
app.py
abdulllah01
Update app.py
50160f2
verified
12 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)