sanket03 commited on
Commit
8e4edc6
·
1 Parent(s): 432628d

added Num_top_classes in output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ demo = gr.Interface(
46
  gr.Slider(0, 1, value = 0.5, label="Opacity of GradCAM"),
47
  gr.Slider(-2, -1, value = -2, step=1, label="Which Layer?"),
48
  gr.Slider(0, 10, value = 1, step=1, label="Number of Top Classes")],
49
- outputs = [gr.Label(num_top_classes=3), gr.Image(shape=(32, 32), label="Output", style={"width": "128px", "height": "128px"})],
50
  title = title,
51
  description = description,
52
  examples = examples,
 
46
  gr.Slider(0, 1, value = 0.5, label="Opacity of GradCAM"),
47
  gr.Slider(-2, -1, value = -2, step=1, label="Which Layer?"),
48
  gr.Slider(0, 10, value = 1, step=1, label="Number of Top Classes")],
49
+ outputs = [gr.Label(num_top_classes=5), gr.Image(shape=(32, 32), label="Output", style={"width": "128px", "height": "128px"})],
50
  title = title,
51
  description = description,
52
  examples = examples,