Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ if xl1 is not None and xl2 is not None:
|
|
20 |
for t1 in df1.iterrows():
|
21 |
r1 = t1[1]
|
22 |
kps1 = json.loads(r1["Matched KPs"].replace("'", '"'))
|
23 |
-
|
|
|
24 |
if kps1[kp1] > 0.99:
|
25 |
kps1.pop(kp1)
|
26 |
#now display the kps
|
|
|
20 |
for t1 in df1.iterrows():
|
21 |
r1 = t1[1]
|
22 |
kps1 = json.loads(r1["Matched KPs"].replace("'", '"'))
|
23 |
+
curr_keys = list(kps1.keys()).copy()
|
24 |
+
for kp1 in curr_keys:
|
25 |
if kps1[kp1] > 0.99:
|
26 |
kps1.pop(kp1)
|
27 |
#now display the kps
|