Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Naruto9
/
SAAS-Automation.demo
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
c1a2f4d
SAAS-Automation.demo
/
app.py
Naruto9
Create app.py
c1a2f4d
verified
8 months ago
raw
Copy download link
history
blame
Safe
185 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiemnt-analysis'
)
text = st.text_area(
'enter some text!'
)
if
text:
out = pipe(text)
st.json(out)