mlbench123 commited on
Commit
0912f3f
·
verified ·
1 Parent(s): 0057fab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -962,13 +962,13 @@ if __name__ == "__main__":
962
  with gr.Group():
963
  gr.Markdown("### Contour Offset")
964
  with gr.Row():
965
- offset_value_mm = gr.Slider(
966
- minimum=0,
967
- maximum=50,
968
- step=1,
969
- value=0,
970
  label="Offset",
971
- info="Expand contours outward by this amount"
 
 
 
972
  )
973
  offset_unit = gr.Dropdown(
974
  choices=["mm", "inches"],
 
962
  with gr.Group():
963
  gr.Markdown("### Contour Offset")
964
  with gr.Row():
965
+ offset_value_mm = gr.Number(
966
+ value=0.02,
 
 
 
967
  label="Offset",
968
+ info="Expand contours outward by this amount",
969
+ precision=3,
970
+ minimum=0,
971
+ maximum=50
972
  )
973
  offset_unit = gr.Dropdown(
974
  choices=["mm", "inches"],