Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
d1853f6
1 Parent(s): 3a3fd67

count update

Browse files
Files changed (1) hide show
  1. appStore/sdg_analysis.py +1 -1
appStore/sdg_analysis.py CHANGED
@@ -108,7 +108,7 @@ def app():
108
  with st.spinner("Running SDG Classification{}".format(warning_msg)):
109
 
110
  df, x = sdg_classification(allDocuments['documents'])
111
- sdg_labels = x.count.unique()
112
  textrankkeywordlist = []
113
  for label in sdg_labels:
114
  sdgdata = " ".join(df[df.SDG == label].text.to_list())
 
108
  with st.spinner("Running SDG Classification{}".format(warning_msg)):
109
 
110
  df, x = sdg_classification(allDocuments['documents'])
111
+ sdg_labels = x.SDG.unique()
112
  textrankkeywordlist = []
113
  for label in sdg_labels:
114
  sdgdata = " ".join(df[df.SDG == label].text.to_list())