sd-library-notes icon indicating copy to clipboard operation
sd-library-notes copied to clipboard

In UI editing, creation, and saving of notes

Open arcum42 opened this issue 2 years ago • 2 comments

Just thought I'd create an issue for this one as well.

Largely, while I'm using a model is going to be the most likely time I'm going to want to edit its notes, so it'd be handy if I could do it on the fly.

It'd also be handy if I could send the current prompt, negative prompt, or even all the info for the last generated model to a note, or send the current note to the prompt and/or negative prompt. (Though obviously you can copy and paste, so not the highest priority on that.)

(I tend to reuse variations of the same negative prompts, and take previous prompts that worked for me and edit them into new ones. I'm definitely going to have a few useful prompts and negative prompts in my notes folder.)

arcum42 avatar Mar 09 '23 23:03 arcum42

This one is definitely something I need to explore more. The documentation for the markdown component on the gradio docs is pretty lacking for this use case. I'm wondering if I'm going to need a mix of both gradio backend with JS frontend to swap the element to a textarea and then send the updated contents

Zetaphor avatar Mar 10 '23 19:03 Zetaphor

@Zetaphor I'd imagine you could hide or show an input field with the text in it & button to save it, or put it in an accordion element. It is one of these areas that might be easier if we were working with a full tab, and had more space...

arcum42 avatar Mar 11 '23 06:03 arcum42