From f84b1b85fd8c311ad2ddf6608b8af13e598ac8bf Mon Sep 17 00:00:00 2001 From: Mingxin Zheng Date: Tue, 22 Oct 2024 15:20:04 +0800 Subject: [PATCH] fix Signed-off-by: Mingxin Zheng --- monai_vila2d/demo/gradio_monai_vila2d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monai_vila2d/demo/gradio_monai_vila2d.py b/monai_vila2d/demo/gradio_monai_vila2d.py index 31c726e..8139b2f 100644 --- a/monai_vila2d/demo/gradio_monai_vila2d.py +++ b/monai_vila2d/demo/gradio_monai_vila2d.py @@ -719,7 +719,7 @@ def create_demo(source, model_path, conv_mode, server_port): value=sv.value.sys_msg, lines=10, ) - eval_checkbox = gr.Checkbox(label="Eval mode", default=sv.value.eval_mode) + eval_checkbox = gr.Checkbox(label="Eval mode", value=sv.value.eval_mode) with gr.Column(): with gr.Tab("In front of the scene"):