Mojo commited on
Commit
9c37f7f
·
1 Parent(s): f4156d7

Added files

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -185,9 +185,9 @@ inference_app = gr.Interface(
185
  # How much should the image be overlayed on the original image
186
  gr.Slider(0, 1, 0.6, label="Image Overlay Factor"),
187
  gr.Checkbox(True, label="Show Misclassified Images?"),
188
- gr.Slider(value=10, maximum=25, minimum=5, step=5.0, precision=0, label="#Misclassified images to show"),
189
  gr.Checkbox(True, label="Visulize GradCAM for Misclassified images?"),
190
- gr.Slider(value=10, maximum=25, minimum=5, step=5.0, precision=0, label="#GradCAM images to show"),
191
  ],
192
  outputs=[
193
  gr.Label(label="Confidences", container=True, show_label=True),
 
185
  # How much should the image be overlayed on the original image
186
  gr.Slider(0, 1, 0.6, label="Image Overlay Factor"),
187
  gr.Checkbox(True, label="Show Misclassified Images?"),
188
+ gr.Slider(value=10, maximum=25, minimum=5, step=5.0, label="#Misclassified images to show"),
189
  gr.Checkbox(True, label="Visulize GradCAM for Misclassified images?"),
190
+ gr.Slider(value=10, maximum=25, minimum=5, step=5.0, label="#GradCAM images to show"),
191
  ],
192
  outputs=[
193
  gr.Label(label="Confidences", container=True, show_label=True),