@@ -38,7 +38,7 @@ def main_ui_panel(is_depth_tab):
38
38
'dpt_hybrid_384 (midas 3.0)' ,
39
39
'midas_v21' , 'midas_v21_small' ,
40
40
'zoedepth_n (indoor)' , 'zoedepth_k (outdoor)' , 'zoedepth_nk' ,
41
- 'Marigold v1' , 'depth_anything ' ],
41
+ 'Marigold v1' , 'Depth Anything ' ],
42
42
type = "index" )
43
43
with gr .Box () as cur_option_root :
44
44
inp -= 'depthmap_gen_row_1' , cur_option_root
@@ -422,8 +422,8 @@ def format_exception(e: Exception):
422
422
if 'out of GPU memory' in msg :
423
423
pass
424
424
elif "torch.hub.load('facebookresearch/dinov2'," in traceback .format_exc ():
425
- msg += ('<h4>For some mysterious reason Depth Anything integration works only in standalone mode. '
426
- 'This is a known issue. Alternatively, use "--disable-safe-unpickle" command line flag</h4> ' )
425
+ msg += ('<h4>To use Depth Anything integration in WebUI mode, please add "--disable-safe-unpickle" to the command line flags. '
426
+ 'Alternatively, use Standalone mode. This is a known issue.' )
427
427
elif 'out of GPU memory' not in msg :
428
428
msg += \
429
429
'Please report this issue ' \
0 commit comments