AlbeRota commited on
Commit
7b8dba5
·
1 Parent(s): 296993d
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -376,12 +376,12 @@ def build_ui():
376
  )
377
  with gr.Row(elem_classes="mobile-stack"):
378
  threshold_slider = gr.Slider(
379
- minimum=0.0, maximum=1.0, value=0.2, step=0.01,
380
  label="Highlight Threshold",
381
  info="Brightness threshold for detecting specular highlights",
382
  )
383
  dilation_slider = gr.Slider(
384
- minimum=0, maximum=100, value=40, step=1,
385
  label="Mask Dilation",
386
  info="Dilation (px) applied to the detected highlight mask",
387
  )
 
376
  )
377
  with gr.Row(elem_classes="mobile-stack"):
378
  threshold_slider = gr.Slider(
379
+ minimum=0.0, maximum=1.0, value=0.4, step=0.01,
380
  label="Highlight Threshold",
381
  info="Brightness threshold for detecting specular highlights",
382
  )
383
  dilation_slider = gr.Slider(
384
+ minimum=0, maximum=100, value=11, step=1,
385
  label="Mask Dilation",
386
  info="Dilation (px) applied to the detected highlight mask",
387
  )