Vasudevakrishna commited on
Commit
bf6bc52
·
verified ·
1 Parent(s): 445aa92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -137,8 +137,8 @@ demo = gr.Interface(inference,
137
  gr.Slider(0, 10, value = 0, step=1, label="How many top classes you want to see?")
138
  ],
139
  outputs = [
140
- gr.Gallery(label="GradCAM Outputs", show_label=True, elem_id="gallery").style(columns=[2], rows=[2], object_fit="contain", height="auto"),
141
- gr.Gallery(label="Misclassified Images", show_label=True, elem_id="gallery").style(columns=[2], rows=[2], object_fit="contain", height="auto"),
142
  gr.Label(num_top_classes=10, label = "Top classes")
143
  ],
144
  title = title,
 
137
  gr.Slider(0, 10, value = 0, step=1, label="How many top classes you want to see?")
138
  ],
139
  outputs = [
140
+ gr.Gallery(label="GradCAM Outputs", show_label=True, elem_id="gallery",columns=[2], rows=[2], object_fit="contain", height="auto"),
141
+ gr.Gallery(label="Misclassified Images", show_label=True, elem_id="gallery",columns=[2], rows=[2], object_fit="contain", height="auto"),
142
  gr.Label(num_top_classes=10, label = "Top classes")
143
  ],
144
  title = title,