Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -137,8 +137,8 @@ demo = gr.Interface(inference,
|
|
| 137 |
gr.Slider(0, 10, value = 0, step=1, label="How many top classes you want to see?")
|
| 138 |
],
|
| 139 |
outputs = [
|
| 140 |
-
gr.Gallery(label="GradCAM Outputs", show_label=True, elem_id="gallery"
|
| 141 |
-
gr.Gallery(label="Misclassified Images", show_label=True, elem_id="gallery"
|
| 142 |
gr.Label(num_top_classes=10, label = "Top classes")
|
| 143 |
],
|
| 144 |
title = title,
|
|
|
|
| 137 |
gr.Slider(0, 10, value = 0, step=1, label="How many top classes you want to see?")
|
| 138 |
],
|
| 139 |
outputs = [
|
| 140 |
+
gr.Gallery(label="GradCAM Outputs", show_label=True, elem_id="gallery",columns=[2], rows=[2], object_fit="contain", height="auto"),
|
| 141 |
+
gr.Gallery(label="Misclassified Images", show_label=True, elem_id="gallery",columns=[2], rows=[2], object_fit="contain", height="auto"),
|
| 142 |
gr.Label(num_top_classes=10, label = "Top classes")
|
| 143 |
],
|
| 144 |
title = title,
|