Jamshaid89 commited on
Commit
c32aaf3
1 Parent(s): ddf40f2

Changed label

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -123,9 +123,8 @@ def predict_image(image):
123
 
124
 
125
  image_input = gr.inputs.Image(shape=(160,160))
126
- label_output = gr.outputs.Textbox()
127
- label_output2 = gr.outputs.Textbox()
128
- image_output = gr.outputs.Image(type="pil")
129
 
130
  # Create the Gradio interface
131
  gr.Interface(fn=predict_image, inputs=image_input, outputs=[label_output , image_output]).launch()
 
123
 
124
 
125
  image_input = gr.inputs.Image(shape=(160,160))
126
+ label_output = gr.outputs.Textbox(label="Prediction")
127
+ image_output = gr.outputs.Image(type="pil" , label="Heatmap")
 
128
 
129
  # Create the Gradio interface
130
  gr.Interface(fn=predict_image, inputs=image_input, outputs=[label_output , image_output]).launch()