ariana sutanto commited on
Commit
7fe46a2
1 Parent(s): 9a4b45d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def get_score(abstract):
44
  print(predictions)
45
  predictions = predictions.numpy()
46
  print(predictions)
47
- score = predictions[0] #get the probability of the label being 1 (patent accepted)
48
 
49
  return score
50
 
 
44
  print(predictions)
45
  predictions = predictions.numpy()
46
  print(predictions)
47
+ score = predictions[0][1] #get the probability of the label being 1 (patent accepted)
48
 
49
  return score
50