mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
This commit is contained in:
commit
5904142777
@ -492,7 +492,7 @@ def save_history(history, unique_id, character, mode):
|
|||||||
p.parent.mkdir(parents=True)
|
p.parent.mkdir(parents=True)
|
||||||
|
|
||||||
with open(p, 'w', encoding='utf-8') as f:
|
with open(p, 'w', encoding='utf-8') as f:
|
||||||
f.write(json.dumps(history, indent=4))
|
f.write(json.dumps(history, indent=4, ensure_ascii=False))
|
||||||
|
|
||||||
|
|
||||||
def rename_history(old_id, new_id, character, mode):
|
def rename_history(old_id, new_id, character, mode):
|
||||||
|
Loading…
Reference in New Issue
Block a user