panik commited on
Commit
e338dea
·
1 Parent(s): 835dfc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,11 +20,11 @@ def sample_digit(digit):
20
 
21
  iface = gr.Interface(
22
  fn = sample_digit,
23
- inputs = ('digit', [
24
  #gr.inputs.Dropdown([0, 1, 2, 3])
25
  #gr.inputs.Number()
26
  gr.inputs.Slider(0, 9)
27
- ]),
28
  outputs=[gr.outputs.Image(type="plot"), 'text'],
29
  title='MNIST Digit Sampler',
30
  description='Pick a random digit from the MNIST dataset'
 
20
 
21
  iface = gr.Interface(
22
  fn = sample_digit,
23
+ inputs = [
24
  #gr.inputs.Dropdown([0, 1, 2, 3])
25
  #gr.inputs.Number()
26
  gr.inputs.Slider(0, 9)
27
+ ],
28
  outputs=[gr.outputs.Image(type="plot"), 'text'],
29
  title='MNIST Digit Sampler',
30
  description='Pick a random digit from the MNIST dataset'