ldhldh commited on
Commit
d6a0df6
1 Parent(s): 95f3d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -37,8 +37,7 @@ def mbti(x):
37
  str_trans, # str representing input in 'User input' Textbox component
38
  fn_index=2
39
  )
40
-
41
- r = sorted(result, key=lambda x : float(x['score']), reverse=True)
42
 
43
  return r
44
 
 
37
  str_trans, # str representing input in 'User input' Textbox component
38
  fn_index=2
39
  )
40
+ r = sorted(eval(result), key=lambda x : x['score'], reverse=True)
 
41
 
42
  return r
43