Gaimundo commited on
Commit
a55ad39
·
verified ·
1 Parent(s): 8336709

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def predict(image):
48
 
49
  iface = gr.Interface(
50
  fn=predict,
51
- inputs=gr.Image(type="pil", shape=(28,28), image_mode="L", label="Draw a digit"),
52
  outputs=gr.Label(num_top_classes=10),
53
  title="MNIST Digit Classifier (PyTorch)"
54
  )
 
48
 
49
  iface = gr.Interface(
50
  fn=predict,
51
+ inputs=gr.Image(type="pil", image_mode="L", label="Draw a digit"),
52
  outputs=gr.Label(num_top_classes=10),
53
  title="MNIST Digit Classifier (PyTorch)"
54
  )