dhruv2842 commited on
Commit
af0828e
Β·
verified Β·
1 Parent(s): 3654faa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=False)
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)