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...
saadob12
commited on
Jul 8, 2022
Commit
97beac5
·
1 Parent(s):
6d9cf66
test
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
import streamlit as st
2
+
from transformers import pipeline
3
+
4
+
pipe = pipeline('sentiment-analysis')
5
+
if text:
6
+
out = pipe(text)
7
+
st.json(out)