Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,11 +20,11 @@ def sample_digit(digit):
|
|
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'
|
|
|
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'
|