Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -172,6 +172,7 @@ with gr.Blocks() as app:
|
|
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,
|
@@ -191,6 +192,7 @@ with gr.Blocks() as app:
|
|
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,
|
195 |
visible=False,
|
196 |
)
|
@@ -199,6 +201,7 @@ with gr.Blocks() as app:
|
|
199 |
label="Select the layer",
|
200 |
info="Please select the layer for which the GradCAM is required",
|
201 |
interactive=True,
|
|
|
202 |
visible=False,
|
203 |
)
|
204 |
gradcam_opacity = gr.Slider(
|
@@ -256,6 +259,7 @@ with gr.Blocks() as app:
|
|
256 |
choices=[str(i + 1) for i in range(10)],
|
257 |
label="Select Number of Top Classes",
|
258 |
value=5,
|
|
|
259 |
info="Number of Top target classes to be shown",
|
260 |
)
|
261 |
run_btn = gr.Button()
|
|
|
172 |
)
|
173 |
misclassified_count = gr.Dropdown(
|
174 |
choices=[str(i + 1) for i in range(20)],
|
175 |
+
value=5,
|
176 |
label="Select Number of Images",
|
177 |
info="Number of Misclassified images",
|
178 |
visible=False,
|
|
|
192 |
choices=[str(i + 1) for i in range(20)],
|
193 |
label="Select Number of Images",
|
194 |
info="Number of GradCAM images",
|
195 |
+
value=5,
|
196 |
interactive=True,
|
197 |
visible=False,
|
198 |
)
|
|
|
201 |
label="Select the layer",
|
202 |
info="Please select the layer for which the GradCAM is required",
|
203 |
interactive=True,
|
204 |
+
value="Layer3",
|
205 |
visible=False,
|
206 |
)
|
207 |
gradcam_opacity = gr.Slider(
|
|
|
259 |
choices=[str(i + 1) for i in range(10)],
|
260 |
label="Select Number of Top Classes",
|
261 |
value=5,
|
262 |
+
interactive=True,
|
263 |
info="Number of Top target classes to be shown",
|
264 |
)
|
265 |
run_btn = gr.Button()
|