panik commited on
Commit
b96eb2c
1 Parent(s): a653a0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def sample_digit(digit):
15
  digit_img = train_images[rn]
16
  fig = plt.figure()
17
  plt.imshow(digit_img, cmap=plt.cm.binary)
18
- out_txt = "train_images[%d] = %d" % (rn, train_labels[rn])
19
  return fig, out_txt
20
 
21
  iface = gr.Interface(
 
15
  digit_img = train_images[rn]
16
  fig = plt.figure()
17
  plt.imshow(digit_img, cmap=plt.cm.binary)
18
+ out_txt = "train_images[%d]" % rn
19
  return fig, out_txt
20
 
21
  iface = gr.Interface(