mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 16:17:57 +01:00
Fix uploading chat log in --chat mode
This commit is contained in:
parent
849e4c7f90
commit
3121f4788e
@ -374,7 +374,10 @@ if args.chat or args.cai_chat:
|
|||||||
|
|
||||||
save_btn.click(save_history, inputs=[], outputs=[download])
|
save_btn.click(save_history, inputs=[], outputs=[download])
|
||||||
upload.upload(load_history, [upload], [])
|
upload.upload(load_history, [upload], [])
|
||||||
upload.upload(redraw_html, [name1, name2], [display1])
|
if args.cai_chat:
|
||||||
|
upload.upload(redraw_html, [name1, name2], [display1])
|
||||||
|
else:
|
||||||
|
upload.upload(lambda : history, [], [display1])
|
||||||
|
|
||||||
|
|
||||||
elif args.notebook:
|
elif args.notebook:
|
||||||
|
Loading…
Reference in New Issue
Block a user