OmerFarooq commited on
Commit
88531d4
1 Parent(s): c0d6d2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def get_grad(img):
153
  demo = gr.Interface(
154
  fn = get_grad,
155
  inputs = gr.Image(type = "pil", shape = (224,224)),
156
- outputs = [gr.Image(type = "numpy", width = 320, height = 320, label = "Grad_CAM w.r.t cat"), gr.Image(type = "numpy", width = 320, height = 320, label = "Grad_CAM w.r.t dog"), gr.Textbox(label = 'Prediction', info = '[P of cat, P of dog]')],
157
  description = "Visual Explanations from Deep Networks",
158
  title = "Gradient-Weighted Class Activation Mapping (Grad-CAM)"
159
  )
 
153
  demo = gr.Interface(
154
  fn = get_grad,
155
  inputs = gr.Image(type = "pil", shape = (224,224)),
156
+ outputs = [gr.Image(type = "numpy", width = 640, height = 320, label = "Grad_CAM w.r.t cat"), gr.Image(type = "numpy", width = 640, height = 320, label = "Grad_CAM w.r.t dog"), gr.Textbox(label = 'Prediction', info = '[P of cat, P of dog]')],
157
  description = "Visual Explanations from Deep Networks",
158
  title = "Gradient-Weighted Class Activation Mapping (Grad-CAM)"
159
  )