OmerFarooq commited on
Commit
79cd544
1 Parent(s): 56f9aab

Update app.py

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