Spaces:
Runtime error
Runtime error
snehalsapkale
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -18,4 +18,3 @@ if img_file_buffer is not None:
|
|
18 |
|
19 |
predicted_class_idx = logits.argmax(-1).item()
|
20 |
print("Predicted class:", model.config.id2label[predicted_class_idx])
|
21 |
-
st.json(model.config.id2label[predicted_class_idx])
|
|
|
18 |
|
19 |
predicted_class_idx = logits.argmax(-1).item()
|
20 |
print("Predicted class:", model.config.id2label[predicted_class_idx])
|
|