From 943451284fa7ba28f9768a9efb06e0e5736c8714 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sat, 26 Apr 2025 18:25:06 -0700 Subject: [PATCH] Fix the Notebook tab not loading its default prompt --- modules/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui.py b/modules/ui.py index ef5ed0e6..f137e62d 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -266,7 +266,7 @@ def apply_interface_values(state, use_persistent=False): if 'textbox-default' in state and 'prompt_menu-default' in state: state.pop('prompt_menu-default') - if 'textbox-notebook' and 'prompt_menu-notebook' in state: + if 'textbox-notebook' in state and 'prompt_menu-notebook' in state: state.pop('prompt_menu-notebook') elements = list_interface_input_elements()