Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
44648c8
1 Parent(s): aa8662e

setting the keywords order

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.SDG.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()[::-1]
112
  textrankkeywordlist = []
113
  for label in sdg_labels:
114
  sdgdata = " ".join(df[df.SDG == label].text.to_list())