Update app.py
Browse files
app.py
CHANGED
@@ -14,4 +14,3 @@ logits = outputs.logits
|
|
14 |
# model predicts one of the 1000 ImageNet classes
|
15 |
predicted_class_idx = logits.argmax(-1).item()
|
16 |
print("Predicted class:", model.config.id2label[predicted_class_idx])
|
17 |
-
|
|
|
14 |
# model predicts one of the 1000 ImageNet classes
|
15 |
predicted_class_idx = logits.argmax(-1).item()
|
16 |
print("Predicted class:", model.config.id2label[predicted_class_idx])
|
|