Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def predict():
|
|
130 |
|
131 |
# β
Create RGB overlay
|
132 |
original_img = np.asarray(img.resize((224, 224)), dtype=np.float32) / 255.0
|
133 |
-
overlay = show_cam_on_image(original_img, cam_output, use_rgb=
|
134 |
|
135 |
# β
Create grayscale version
|
136 |
cam_normalized = np.uint8(255 * cam_output)
|
|
|
130 |
|
131 |
# β
Create RGB overlay
|
132 |
original_img = np.asarray(img.resize((224, 224)), dtype=np.float32) / 255.0
|
133 |
+
overlay = show_cam_on_image(original_img, cam_output, use_rgb=True)
|
134 |
|
135 |
# β
Create grayscale version
|
136 |
cam_normalized = np.uint8(255 * cam_output)
|