exp with output changes
Browse files
app.py
CHANGED
@@ -58,10 +58,7 @@ demo = gr.Interface(
|
|
58 |
gr.Slider(0, 1, value=0.5, label="Opacity of GradCAM"),
|
59 |
gr.Slider(-2, -1, value=-2, step=1, label="Which Layer?")
|
60 |
],
|
61 |
-
|
62 |
-
{"Confidence" : gr.Label(num_top_classes=3, label="Confidences"),
|
63 |
-
"Visualization" : gr.Image(label="GradCAM Visualization")}
|
64 |
-
],
|
65 |
title=title,
|
66 |
description=description,
|
67 |
examples=examples,
|
|
|
58 |
gr.Slider(0, 1, value=0.5, label="Opacity of GradCAM"),
|
59 |
gr.Slider(-2, -1, value=-2, step=1, label="Which Layer?")
|
60 |
],
|
61 |
+
outputs = [gr.Label(num_top_classes=3), gr.Image(shape=(32, 32), label="Output", style={"width": "128px", "height": "128px"})],
|
|
|
|
|
|
|
62 |
title=title,
|
63 |
description=description,
|
64 |
examples=examples,
|