Minor fix

This commit is contained in:
oobabooga 2023-03-23 22:02:40 -03:00 committed by GitHub
parent b0abb327d8
commit 9bdb3c784d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,6 @@ def load_model_wrapper(selected_model):
return selected_model
def load_lora_wrapper(selected_lora):
shared.lora_name = selected_lora
add_lora_to_model(selected_lora)
default_text = shared.settings['lora_prompts'][next((k for k in shared.settings['lora_prompts'] if re.match(k.lower(), shared.lora_name.lower())), 'default')]