Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
saadob12
/
Chart_Data_Summarization
like
3
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f2390d3
Chart_Data_Summarization
/
app.py
saadob12
Update app.py
aff4412
over 2 years ago
raw
Copy download link
history
blame
179 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'sentiment-analysis'
)
text = st.text_area(
'enter text'
)
if
text:
out = pipe(text)
st.json(out)