freddyaboulton / gradio-range-slider

Apache License 2.0
5 stars 1 forks source link

minor fix to enable float step value #7

Closed mayalenE closed 5 months ago

mayalenE commented 5 months ago

The 'handle_min_change' and 'handle_max_change' currently parse values to integers preventing the use of float step values (eg step=0.1).

The proposed suggestion enables to have float min/max values such that the step argument acts as in the original Slider gradio component.

freddyaboulton commented 5 months ago

Released in version 0.0.5