amitkayal commited on
Commit
85c566f
·
1 Parent(s): c884385

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ demo = gr.Interface(
92
  gr.Slider(minimum=0.1, maximum=1.0, step=0.1, default=0.5, label="Opacity"),
93
  gr.Radio(["Yes", "No"], label="View misclassified images?"),
94
  gr.Number(label="Number of misclassified images to view", default=5, min=1, max=10),
95
- gr.Image(shape=(32, 32), label="Input Image" if "Interface" in gr.__file__ else "Image"),
96
  gr.Button(label="Submit", type="boolean"),
97
  # gr.Image(shape=(32, 32), label="Input Image"),
98
  # gr.Slider(0, 1, value = 0.5, label="Opacity of GradCAM"),
 
92
  gr.Slider(minimum=0.1, maximum=1.0, step=0.1, default=0.5, label="Opacity"),
93
  gr.Radio(["Yes", "No"], label="View misclassified images?"),
94
  gr.Number(label="Number of misclassified images to view", default=5, min=1, max=10),
95
+ gr.Image(shape=(32, 32), label="Input Image"),
96
  gr.Button(label="Submit", type="boolean"),
97
  # gr.Image(shape=(32, 32), label="Input Image"),
98
  # gr.Slider(0, 1, value = 0.5, label="Opacity of GradCAM"),