OmerFarooq commited on
Commit
98724d8
1 Parent(s): a7f0392

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ demo = gr.Interface(
91
  fn = gen_grad_img_single,
92
  inputs = gr.Image(type = "pil", shape = (224,224)),
93
  # outputs = [gr.outputs.Label(num_top_classes = 2, label = 'Classifiaction'), gr.Textbox('infer_time', label = 'Inference Time(ms)')]
94
- outputs = [gr.Image(type = "numpy"), gr.Textbox('y_pred', label = 'Prediction')]
95
  )
96
  demo.launch()
97
 
 
91
  fn = gen_grad_img_single,
92
  inputs = gr.Image(type = "pil", shape = (224,224)),
93
  # outputs = [gr.outputs.Label(num_top_classes = 2, label = 'Classifiaction'), gr.Textbox('infer_time', label = 'Inference Time(ms)')]
94
+ outputs = [gr.Image(type = " np.ndarray"), gr.Textbox('y_pred', label = 'Prediction')]
95
  )
96
  demo.launch()
97