darwinharianto commited on
Commit
5488dc0
·
1 Parent(s): fc409ef

update slider maximum

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ if __name__ == "__main__":
144
  maxScale: scaler
145
  }
146
  image.change(fn=update_scale, inputs=[width, height, image], outputs=[maxScale])
147
-
148
  fit.click(fn=process, inputs=[width, height, scale, image], outputs=[plot_output, total])
149
 
150
 
 
144
  maxScale: scaler
145
  }
146
  image.change(fn=update_scale, inputs=[width, height, image], outputs=[maxScale])
147
+ scale.maximum=5
148
  fit.click(fn=process, inputs=[width, height, scale, image], outputs=[plot_output, total])
149
 
150