Style fix

This commit is contained in:
oobabooga 2023-02-15 20:58:17 -03:00
parent ccf10db60f
commit 6f213b8c14

View File

@ -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: