Skip to content

Commit 1bd25bc

Browse files
committed
Minor text fixes
1 parent 7f7d92f commit 1bd25bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common_ui.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def main_ui_panel(is_depth_tab):
3838
'dpt_hybrid_384 (midas 3.0)',
3939
'midas_v21', 'midas_v21_small',
4040
'zoedepth_n (indoor)', 'zoedepth_k (outdoor)', 'zoedepth_nk',
41-
'Marigold v1', 'depth_anything'],
41+
'Marigold v1', 'Depth Anything'],
4242
type="index")
4343
with gr.Box() as cur_option_root:
4444
inp -= 'depthmap_gen_row_1', cur_option_root
@@ -422,8 +422,8 @@ def format_exception(e: Exception):
422422
if 'out of GPU memory' in msg:
423423
pass
424424
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.')
427427
elif 'out of GPU memory' not in msg:
428428
msg += \
429429
'Please report this issue ' \

0 commit comments

Comments
 (0)