From 9bdb3c784d07b4f81f8dc39a97796d231bd89bff Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 23 Mar 2023 22:02:40 -0300 Subject: [PATCH] Minor fix --- server.py | 1 - 1 file changed, 1 deletion(-) diff --git a/server.py b/server.py index 068f380a..435b8525 100644 --- a/server.py +++ b/server.py @@ -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')]