Mojo
commited on
Commit
·
bc13e79
1
Parent(s):
d8d9ab2
Added files
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ def app_interface(
|
|
119 |
num_gradcam_misclassified,
|
120 |
):
|
121 |
"""Function which provides the Gradio interface"""
|
122 |
-
|
123 |
# Get the prediction for the input image along with confidence and display_image
|
124 |
confidences, display_image = generate_prediction(input_image, num_classes, show_gradcam, transparency, layer_name)
|
125 |
|
|
|
119 |
num_gradcam_misclassified,
|
120 |
):
|
121 |
"""Function which provides the Gradio interface"""
|
122 |
+
input_image = resize_image_pil(input_image, 32, 32)
|
123 |
# Get the prediction for the input image along with confidence and display_image
|
124 |
confidences, display_image = generate_prediction(input_image, num_classes, show_gradcam, transparency, layer_name)
|
125 |
|