Kaushik Bar commited on
Commit
20062d7
·
1 Parent(s): 1c9f7e0

first commit

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -119,7 +119,8 @@ def sequence_to_classify(text, labels):
119
  pred["text"] = textlet
120
  pred["scores"], pred["labels"] = zip(*sorted_sl)
121
  preds.append(pred)
122
-
 
123
  predicted_labels = preds['labels']
124
  predicted_scores = preds['scores']
125
  clean_output = {idx: float(predicted_scores.pop(0)) for idx in predicted_labels}
 
119
  pred["text"] = textlet
120
  pred["scores"], pred["labels"] = zip(*sorted_sl)
121
  preds.append(pred)
122
+
123
+ print(preds)
124
  predicted_labels = preds['labels']
125
  predicted_scores = preds['scores']
126
  clean_output = {idx: float(predicted_scores.pop(0)) for idx in predicted_labels}