Kaushik Bar commited on
Commit
1c9f7e0
1 Parent(s): 8ac7f12

first commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def sequence_to_classify(text, labels):
116
 
117
  sorted_sl = sorted(zip(scores, labels), key=lambda t:t[0], reverse=True)
118
 
119
- pred["labels"] = textlet
120
  pred["scores"], pred["labels"] = zip(*sorted_sl)
121
  preds.append(pred)
122
 
 
116
 
117
  sorted_sl = sorted(zip(scores, labels), key=lambda t:t[0], reverse=True)
118
 
119
+ pred["text"] = textlet
120
  pred["scores"], pred["labels"] = zip(*sorted_sl)
121
  preds.append(pred)
122