Spaces:
Sleeping
Sleeping
w/h
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def on_submit(img):
|
|
| 11 |
iface = gr.Interface(
|
| 12 |
title = "LeNet",
|
| 13 |
fn = on_submit,
|
| 14 |
-
inputs=gr.Sketchpad(
|
| 15 |
outputs=gr.Label(),
|
| 16 |
)
|
| 17 |
iface.launch()
|
|
|
|
| 11 |
iface = gr.Interface(
|
| 12 |
title = "LeNet",
|
| 13 |
fn = on_submit,
|
| 14 |
+
inputs=gr.Sketchpad(width=280, height=280, image_mode='P'),
|
| 15 |
outputs=gr.Label(),
|
| 16 |
)
|
| 17 |
iface.launch()
|