Commit ·
d4bf3cf
1
Parent(s): 82cf966
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,8 +105,8 @@ def show_incorrect(num_examples=10):
|
|
| 105 |
demo_2 = gr.Interface(
|
| 106 |
fn=show_incorrect,
|
| 107 |
inputs=[
|
| 108 |
-
gr.Number(value=10, minimum=1, maximum=
|
| 109 |
-
info="How many misclassified examples do you want to view? (max
|
| 110 |
],
|
| 111 |
outputs=[gr.Gallery(label="Misclassified Images (Actual / Predicted)", columns=5)]
|
| 112 |
)
|
|
|
|
| 105 |
demo_2 = gr.Interface(
|
| 106 |
fn=show_incorrect,
|
| 107 |
inputs=[
|
| 108 |
+
gr.Number(value=10, minimum=1, maximum=30, label="Input number(s) of images", precision=0,
|
| 109 |
+
info="How many misclassified examples do you want to view? (max 30)")
|
| 110 |
],
|
| 111 |
outputs=[gr.Gallery(label="Misclassified Images (Actual / Predicted)", columns=5)]
|
| 112 |
)
|