Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def recognize_digit(image):
|
|
19 |
|
20 |
iface = gr.Interface(
|
21 |
fn = recognize_digit,
|
22 |
-
inputs=gr.Image(shape=(28,28),image_mode = 'L',
|
23 |
outputs=gr.Label(top_num_classes=3),
|
24 |
description = 'Draw a Digit Below')
|
25 |
|
|
|
19 |
|
20 |
iface = gr.Interface(
|
21 |
fn = recognize_digit,
|
22 |
+
inputs=gr.Image(shape=(28,28),image_mode = 'L', invert_colors=True, source = 'canvas'),
|
23 |
outputs=gr.Label(top_num_classes=3),
|
24 |
description = 'Draw a Digit Below')
|
25 |
|