Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -104,9 +104,9 @@ def predict(text):
|
|
104 |
top3 = sorted(combined3, key=lambda x: x["combined_score"], reverse=True)[:3]
|
105 |
|
106 |
results = {
|
107 |
-
"top1": top1,
|
108 |
"top2": top2,
|
109 |
-
"top3": top3
|
|
|
110 |
}
|
111 |
|
112 |
return results
|
|
|
104 |
top3 = sorted(combined3, key=lambda x: x["combined_score"], reverse=True)[:3]
|
105 |
|
106 |
results = {
|
|
|
107 |
"top2": top2,
|
108 |
+
"top3": top3,
|
109 |
+
"top1": top1
|
110 |
}
|
111 |
|
112 |
return results
|