Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,9 @@ with st.spinner("👑 load language model (sentence transformer)"):
|
|
13 |
|
14 |
with st.spinner("👑 load sdg data"):
|
15 |
df_osdg = pd.read_csv('https://zenodo.org/record/5550238/files/osdg-community-dataset-v21-09-30.csv',sep='\t')
|
16 |
-
df_osdg
|
|
|
|
|
17 |
|
18 |
_lab_dict = {0: 'no_cat',
|
19 |
1:'SDG 1 - No poverty',
|
|
|
13 |
|
14 |
with st.spinner("👑 load sdg data"):
|
15 |
df_osdg = pd.read_csv('https://zenodo.org/record/5550238/files/osdg-community-dataset-v21-09-30.csv',sep='\t')
|
16 |
+
df_osdg = df_osdg[df_osdg['agreement']>.95]
|
17 |
+
df_osdg = df_osdg[df_osdg['labels_positive']>2]
|
18 |
+
#df_osdg = df_osdg[:1000]
|
19 |
|
20 |
_lab_dict = {0: 'no_cat',
|
21 |
1:'SDG 1 - No poverty',
|