Omnibus commited on
Commit
bec3144
1 Parent(s): 436d80d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def aiornot0(image):
25
  print (outputs)
26
  logits = outputs.logits
27
  print (logits)
28
- probability = softmax(logits, axis=-1)
29
  print(probability)
30
 
31
  prediction = logits.argmax(-1).item()
 
25
  print (outputs)
26
  logits = outputs.logits
27
  print (logits)
28
+ probability = softmax(logits)
29
  print(probability)
30
 
31
  prediction = logits.argmax(-1).item()