BinhQuocNguyen commited on
Commit
6fa04a2
·
verified ·
1 Parent(s): 8556fe3

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def predict_digit(image):
32
 
33
  iface = gr.Interface(
34
  fn=predict_digit,
35
- inputs=gr.Image(image_mode='L', source="canvas", tool="editor", height=28, width=28),
36
  outputs=gr.Label(num_top_classes=1),
37
  title="MNIST Digit Classifier",
38
  description="Draw a digit (0-9) and the model will predict it."
 
32
 
33
  iface = gr.Interface(
34
  fn=predict_digit,
35
+ inputs=gr.Image(image_mode='L', height=28, width=28),
36
  outputs=gr.Label(num_top_classes=1),
37
  title="MNIST Digit Classifier",
38
  description="Draw a digit (0-9) and the model will predict it."