From 6f213b8c143cb8bbbd63aa9535b359089b8c1337 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 15 Feb 2023 20:58:17 -0300 Subject: [PATCH] Style fix --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 8ca71c6c..4cfa049c 100644 --- a/server.py +++ b/server.py @@ -427,7 +427,7 @@ def get_available_softprompts(): def create_extensions_block(): extensions_ui_elements = [] default_values = [] - if not args.chat or args.cai_chat: + if not (args.chat or args.cai_chat): gr.Markdown('## Extensions parameters') for ext in sorted(extension_state, key=lambda x : extension_state[x][1]): if extension_state[ext][0] == True: