Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ sample_images = get_sample_images(10)
|
|
125 |
|
126 |
### configure inputs/outputs
|
127 |
set_image = gr.inputs.Image(shape=(28, 28), image_mode='L')
|
128 |
-
set_K = gr.inputs.Slider(
|
129 |
|
130 |
set_label = gr.outputs.Textbox(label="Predicted Digit")
|
131 |
set_out_images = gr.outputs.Image(label="Closest Neighbors")
|
|
|
125 |
|
126 |
### configure inputs/outputs
|
127 |
set_image = gr.inputs.Image(shape=(28, 28), image_mode='L')
|
128 |
+
set_K = gr.inputs.Slider(1, 24, step=1, default=7)
|
129 |
|
130 |
set_label = gr.outputs.Textbox(label="Predicted Digit")
|
131 |
set_out_images = gr.outputs.Image(label="Closest Neighbors")
|