piyushgrover commited on
Commit
ea2f0f1
·
1 Parent(s): 4b61177

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -120,12 +120,10 @@ with gr.Blocks() as app:
120
  top_pred_image = gr.Image(label='Upload Image or Select from the gallery')
121
 
122
  with gr.Row():
 
123
  top_class_btn = gr.Button("Submit", variant='primary')
124
  tc_clear_btn = gr.ClearButton()
125
 
126
- with gr.Row():
127
- if_show_grad_cam = gr.Checkbox(value=True, label='Show Class Activation Map (What the model sees)?')
128
-
129
  with gr.Row(visible=True) as top_class_output:
130
  with gr.Column(visible=True) as top_class_output:
131
  top_class_output_img = gr.Image(interactive=False, label='Prediction Output')
 
120
  top_pred_image = gr.Image(label='Upload Image or Select from the gallery')
121
 
122
  with gr.Row():
123
+ if_show_grad_cam = gr.Checkbox(value=True, label='Show Class Activation Map (What the model sees)?')
124
  top_class_btn = gr.Button("Submit", variant='primary')
125
  tc_clear_btn = gr.ClearButton()
126
 
 
 
 
127
  with gr.Row(visible=True) as top_class_output:
128
  with gr.Column(visible=True) as top_class_output:
129
  top_class_output_img = gr.Image(interactive=False, label='Prediction Output')