Skip to content

Commit

Permalink
fix #1066
Browse files Browse the repository at this point in the history
  • Loading branch information
GaiZhenbiao committed Mar 6, 2024
1 parent fd935eb commit 0bbf210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def get_model(
if original_model is not None and model is not None:
model.history = original_model.history
model.history_file_path = original_model.history_file_path
model.system_prompt = original_model.system_prompt
if dont_change_lora_selector:
return model, msg, chatbot, gr.update(), access_key, presudo_key
else:
Expand Down

0 comments on commit 0bbf210

Please sign in to comment.