Spaces:
Running on Zero
Running on Zero
help3
Browse files
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.
|
| 380 |
label="Highlight Threshold",
|
| 381 |
info="Brightness threshold for detecting specular highlights",
|
| 382 |
)
|
| 383 |
dilation_slider = gr.Slider(
|
| 384 |
-
minimum=0, maximum=100, value=
|
| 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 |
)
|