Spaces:
Runtime error
Runtime error
Commit
·
c0432cb
1
Parent(s):
9b9dea7
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,8 @@ def inference(input_img, see_misclassified,num_misclassified_imgs,see_gradcam,nu
|
|
| 80 |
# input_img = org_img
|
| 81 |
|
| 82 |
# else: # nothing chosen - misclassified or gradcam
|
| 83 |
-
|
|
|
|
| 84 |
|
| 85 |
# model inference
|
| 86 |
transform = transforms.ToTensor()
|
|
|
|
| 80 |
# input_img = org_img
|
| 81 |
|
| 82 |
# else: # nothing chosen - misclassified or gradcam
|
| 83 |
+
|
| 84 |
+
org_img = input_img
|
| 85 |
|
| 86 |
# model inference
|
| 87 |
transform = transforms.ToTensor()
|