xValentim commited on
Commit
c4737bd
·
1 Parent(s): f201e99

Fix minimum

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ images_converted = np.array(images_converted)
59
  def image_classifier(value):
60
  return np.clip(((variational_decoder(many[(value * 10)].numpy().reshape(1, -1))[0]) * 255), 0, 255).astype(int)[:, :, 0]
61
 
62
- input_value_d = gr.Slider(minimum=0, maximum=99, step=1)
63
  demo = gr.Interface(fn=image_classifier, inputs=input_value_d, outputs="image", live=True)
64
 
65
  # Launch the interface
 
59
  def image_classifier(value):
60
  return np.clip(((variational_decoder(many[(value * 10)].numpy().reshape(1, -1))[0]) * 255), 0, 255).astype(int)[:, :, 0]
61
 
62
+ input_value_d = gr.Slider(minimum=2, maximum=99, step=1)
63
  demo = gr.Interface(fn=image_classifier, inputs=input_value_d, outputs="image", live=True)
64
 
65
  # Launch the interface