Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
·
aad9d90
1
Parent(s):
a363f1b
bugfix: fix #883
Browse files- modules/models/models.py +1 -0
modules/models/models.py
CHANGED
|
@@ -689,6 +689,7 @@ def get_model(
|
|
| 689 |
presudo_key = hide_middle_chars(access_key)
|
| 690 |
if original_model is not None:
|
| 691 |
model.history = original_model.history
|
|
|
|
| 692 |
if dont_change_lora_selector:
|
| 693 |
return model, msg, chatbot, gr.update(), access_key, presudo_key
|
| 694 |
else:
|
|
|
|
| 689 |
presudo_key = hide_middle_chars(access_key)
|
| 690 |
if original_model is not None:
|
| 691 |
model.history = original_model.history
|
| 692 |
+
model.history_file_path = original_model.history_file_path
|
| 693 |
if dont_change_lora_selector:
|
| 694 |
return model, msg, chatbot, gr.update(), access_key, presudo_key
|
| 695 |
else:
|