mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-02-09 01:04:27 +01:00
Fix the Notebook tab not loading its default prompt
This commit is contained in:
parent
511eb6aa94
commit
943451284f
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue