Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=[
|
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=[
|
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,
|