Update app.py
Browse files
app.py
CHANGED
@@ -66,8 +66,8 @@ def predict(img):
|
|
66 |
|
67 |
gr.Interface(
|
68 |
fn=predict,
|
69 |
-
inputs="
|
70 |
-
outputs=
|
71 |
title="Thai Digit Handwritten Classification",
|
72 |
live=True
|
73 |
).launch(enable_queue=True)
|
|
|
66 |
|
67 |
gr.Interface(
|
68 |
fn=predict,
|
69 |
+
inputs=gr.Sketchpad(label="Draw Here", brush_radius=5, type="pil", shape=(120, 120)),
|
70 |
+
outputs=gr.Label(label="Guess"),
|
71 |
title="Thai Digit Handwritten Classification",
|
72 |
live=True
|
73 |
).launch(enable_queue=True)
|