Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def aiornot0(image):
|
|
25 |
print (outputs)
|
26 |
logits = outputs.logits
|
27 |
print (logits)
|
28 |
-
probability = softmax(logits
|
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()
|