fix output warning
Browse files
app.py
CHANGED
|
@@ -14,6 +14,6 @@ def recognize_digit(image):
|
|
| 14 |
|
| 15 |
gr.Interface(fn=recognize_digit,
|
| 16 |
inputs="sketchpad",
|
| 17 |
-
outputs=gr.
|
| 18 |
live=True,
|
| 19 |
description="Live MNIST.").launch();
|
|
|
|
| 14 |
|
| 15 |
gr.Interface(fn=recognize_digit,
|
| 16 |
inputs="sketchpad",
|
| 17 |
+
outputs=gr.Label(num_top_classes=3),
|
| 18 |
live=True,
|
| 19 |
description="Live MNIST.").launch();
|