Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,9 +38,9 @@ def mbti(x):
|
|
38 |
fn_index=2
|
39 |
)
|
40 |
|
41 |
-
|
42 |
|
43 |
-
return
|
44 |
|
45 |
def chat(x):
|
46 |
result = gradio_client.predict(
|
|
|
38 |
fn_index=2
|
39 |
)
|
40 |
|
41 |
+
r = sorted(result, key=lambda x : float(x['score']), reverse=True)
|
42 |
|
43 |
+
return r
|
44 |
|
45 |
def chat(x):
|
46 |
result = gradio_client.predict(
|