text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

Save logs to a local folder in normal and --notebook mode

Open 0xbitches opened this issue 1 year ago • 3 comments

As titled. As this project is gaining attention it is quite necessary to set up a proper issue template, as well as document important keyboard shortcuts such as "ctrl+enter" in automatic1111.

It might also be helpful if the program by default saves a log of text gen history to a local output folder.

Happy to work on this in a pr.

0xbitches avatar Mar 13 '23 19:03 0xbitches

  • Issue/bug report templates have been added
  • There is just one shortcut: shift+enter to submit a text field in regular or --notebook mode. It's a gradio default for multiline input fields.

oobabooga avatar Mar 13 '23 21:03 oobabooga

The ability to save logs in normal/notebook mode is indeed lacking. Do you have an idea for how to design this?

oobabooga avatar Mar 16 '23 03:03 oobabooga

For now a simple button that saves the current output in notebook/chat mode to a .txt file should suffice. I think the equivalent of automatic1111's implementation of "save image" function is what I am looking for.

Perhaps a button to export .html would be great as well.

0xbitches avatar Mar 17 '23 19:03 0xbitches

An option for saving the current prompt has been added recently.

oobabooga avatar Mar 29 '23 03:03 oobabooga

I want to be able to save my conversation with a character, and then load it back in. I can't seem to find a way to do that currently. I can upload a chat history, but there needs to be a good simple way to save the existing history to a file.

jlc42 avatar Apr 15 '23 02:04 jlc42