vives commited on
Commit
40fa208
·
1 Parent(s): faf0e44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,6 @@ if xl1 is not None and xl2 is not None:
9
  df2 = pd.read_excel(xl2, sheet_name= "0.85 Threshold")
10
  st.write(df1[["Attendee A","Attendee B","KP"]])
11
  if not df1[["Attendee A","Attendee B","KP"]].equals(df2[["Attendee A","Attendee B","KP"]]):
12
- st.write("The files' attendees and KPs don't match!")
13
  xl1 = None
14
  xl2 = None
15
  else:
@@ -19,6 +18,7 @@ if xl1 is not None and xl2 is not None:
19
  assert r1["KP"] == r2["KP"]
20
  kps1 = r1["Matched KPs"]
21
  kps2 = r2["Matched KPs"]
 
22
  for kp1, kp2 in zip(kps1.keys(),kps2.keys()):
23
  if kps1[kp1] > 0.99:
24
  kps1.pop(kp1)
 
9
  df2 = pd.read_excel(xl2, sheet_name= "0.85 Threshold")
10
  st.write(df1[["Attendee A","Attendee B","KP"]])
11
  if not df1[["Attendee A","Attendee B","KP"]].equals(df2[["Attendee A","Attendee B","KP"]]):
 
12
  xl1 = None
13
  xl2 = None
14
  else:
 
18
  assert r1["KP"] == r2["KP"]
19
  kps1 = r1["Matched KPs"]
20
  kps2 = r2["Matched KPs"]
21
+ st.write(kps1)
22
  for kp1, kp2 in zip(kps1.keys(),kps2.keys()):
23
  if kps1[kp1] > 0.99:
24
  kps1.pop(kp1)