titipata commited on
Commit
f0efe75
·
1 Parent(s): 0448c7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,8 +66,8 @@ def predict(img):
66
 
67
  gr.Interface(
68
  fn=predict,
69
- inputs="sketchpad",
70
- outputs="label",
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)