added Apple's "Depth Pro" preprocessor

This commit is contained in:
nolbert82
2025-10-22 21:27:39 +02:00
parent 76632838bb
commit 48eaf60c51
4 changed files with 102 additions and 0 deletions
+2
View File
@@ -317,5 +317,7 @@ def create_ui_elements(units, result_txt, preview_process):
settings.append(gr.Slider(label="Ensemble size", minimum=1, maximum=99, step=1, value=10))
with gr.Accordion('Depth Anything', open=True, elem_classes=['processor-settings']):
settings.append(gr.Dropdown(label="Depth map", choices=['none'] + masking.COLORMAP, value='inferno'))
with gr.Accordion('Depth Pro', open=True, elem_classes=['processor-settings']):
settings.append(gr.Dropdown(label="Depth map", choices=['none'] + masking.COLORMAP, value='inferno'))
for setting in settings:
setting.change(fn=processors.update_settings, inputs=settings, outputs=[])