Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def predict(image):
|
|
| 16 |
|
| 17 |
iface = gr.Interface(
|
| 18 |
fn=predict,
|
| 19 |
-
inputs=gr.
|
| 20 |
outputs="label",
|
| 21 |
title="QuickDraw API",
|
| 22 |
description="API para reconocer dibujos estilo QuickDraw"
|
|
|
|
| 16 |
|
| 17 |
iface = gr.Interface(
|
| 18 |
fn=predict,
|
| 19 |
+
inputs=gr.Image(shape=(28, 28), image_mode='L', source='upload'),
|
| 20 |
outputs="label",
|
| 21 |
title="QuickDraw API",
|
| 22 |
description="API para reconocer dibujos estilo QuickDraw"
|