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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -152,6 +152,7 @@ def get_grad(img):
152
 
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",
 
152
 
153
  demo = gr.Interface(
154
  fn = get_grad,
155
+ # inputs = gr.Image(type = "pil", shape = (224,224)),
156
  inputs = gr.Image(type = "pil", shape = (224,224)),
157
  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]')],
158
  description = "Visual Explanations from Deep Networks",