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"):