Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -105,8 +105,8 @@ demo = gr.Interface(
|
|
105 |
gr.Slider(minimum=0.1, maximum=1.0, step=0.1, default=0.5, label="Opacity"),
|
106 |
gr.Radio(["Yes", "No"], label="View misclassified images?"),
|
107 |
gr.Number(label="Number of misclassified images to view", default=5, min=1, max=10),
|
108 |
-
gr.Image(shape=(32, 32), label="Input Image")
|
109 |
-
gr.Button(label="Submit", type="boolean")
|
110 |
],
|
111 |
outputs = [gr.Label(num_top_classes=3), gr.Image(shape=(32, 32), label="Output").style(width=128, height=128)],
|
112 |
examples = examples,
|
|
|
105 |
gr.Slider(minimum=0.1, maximum=1.0, step=0.1, default=0.5, label="Opacity"),
|
106 |
gr.Radio(["Yes", "No"], label="View misclassified images?"),
|
107 |
gr.Number(label="Number of misclassified images to view", default=5, min=1, max=10),
|
108 |
+
gr.Image(shape=(32, 32), label="Input Image")
|
109 |
+
# gr.Button(label="Submit", type="boolean")
|
110 |
],
|
111 |
outputs = [gr.Label(num_top_classes=3), gr.Image(shape=(32, 32), label="Output").style(width=128, height=128)],
|
112 |
examples = examples,
|