RaviNaik commited on
Commit
c8586d3
1 Parent(s): a76f9a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -171,7 +171,7 @@ with gr.Blocks() as app:
171
  label="Misclassified Images", info="Display misclassified images?"
172
  )
173
  misclassified_count = gr.Dropdown(
174
- choices=["10", "20"],
175
  label="Select Number of Images",
176
  info="Number of Misclassified images",
177
  visible=False,
@@ -188,7 +188,7 @@ with gr.Blocks() as app:
188
  info="Display GradCAM images?",
189
  )
190
  gradcam_count = gr.Dropdown(
191
- choices=["10", "20"],
192
  label="Select Number of Images",
193
  info="Number of GradCAM images",
194
  interactive=True,
 
171
  label="Misclassified Images", info="Display misclassified images?"
172
  )
173
  misclassified_count = gr.Dropdown(
174
+ choices=[str(i + 1) for i in range(20)],
175
  label="Select Number of Images",
176
  info="Number of Misclassified images",
177
  visible=False,
 
188
  info="Display GradCAM images?",
189
  )
190
  gradcam_count = gr.Dropdown(
191
+ choices=[str(i + 1) for i in range(20)],
192
  label="Select Number of Images",
193
  info="Number of GradCAM images",
194
  interactive=True,