Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,7 @@ def mbti(x):
|
|
| 37 |
str_trans, # str representing input in 'User input' Textbox component
|
| 38 |
fn_index=2
|
| 39 |
)
|
|
|
|
| 40 |
|
| 41 |
return result
|
| 42 |
|
|
|
|
| 37 |
str_trans, # str representing input in 'User input' Textbox component
|
| 38 |
fn_index=2
|
| 39 |
)
|
| 40 |
+
result = sorted(result, key=lambda x : x['score'], reverse=True)
|
| 41 |
|
| 42 |
return result
|
| 43 |
|