malmukhtar commited on
Commit
ced4e42
·
1 Parent(s): 9b30f59

Update accessibility_classifier/classifier/model.py

Browse files
accessibility_classifier/classifier/model.py CHANGED
@@ -98,8 +98,8 @@ class Model:
98
  all_predictions = F.softmax(
99
  probabilities.logits, dim=1).cpu().numpy().flatten()
100
 
101
- accessibility_prediction = all_predictions[1]
102
- nonaccessibility_prediction = all_predictions[0]
103
 
104
  return (accessibility_prediction, nonaccessibility_prediction)
105
 
 
98
  all_predictions = F.softmax(
99
  probabilities.logits, dim=1).cpu().numpy().flatten()
100
 
101
+ accessibility_prediction = all_predictions[0]
102
+ nonaccessibility_prediction = all_predictions[1]
103
 
104
  return (accessibility_prediction, nonaccessibility_prediction)
105