mohbay commited on
Commit
6c11a17
·
verified ·
1 Parent(s): 23cd5e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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