Replies: 5 comments 3 replies
-
Could you describe what that UI button does? I never figured it out and its been out a while.
I thought all metadata is stored in the png by default. Then you can enable saving metadata to text files additionally. |
Beta Was this translation helpful? Give feedback.
-
Create / apply style as far as I know simply saves and restores the prompt... nothing more... Also it's true that there is a PNG Info button allowing you to read metadata from PNG but like I said it would be most useful to do the same for the txt (or better - yaml) metadata files. |
Beta Was this translation helpful? Give feedback.
-
thankyou very much.
…On Sat, Sep 23, 2023 at 8:32 PM missionfloyd ***@***.***> wrote:
@noantidote <https://github.com/noantidote> Parameters are read like this.
from PIL import Image
image = Image.open("image.png")parameters = image.info["parameters"]
Returns a string. It can be parsed to a dict with
parse_generation_parameters()
<https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/5ef669de080814067961f28357256e8fe27544f4/modules/generation_parameters_copypaste.py#L210-L316>
—
Reply to this email directly, view it on GitHub
<#1737 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3RW2ZR63R5OAGNVSNLLYK3X36ES3ANCNFSM6AAAAAAQ5X6SLQ>
.
You are receiving this because you were mentioned.Message ID:
<AUTOMATIC1111/stable-diffusion-webui/repo-discussions/1737/comments/7091479
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
I posted today about this before I knew about this thread. Currently style pulls in a prompt and/or negative prompt. Cool, keep this. But from now on saving prompt styles would also save other data (like seed, CFG) and you could (with a checkbox next to the styles dropdown) pull in that additional data too. This would help us test prompts (with seeds) in an XY plot against different checkpoints or loras. |
Beta Was this translation helpful? Give feedback.
-
very good news. thankyou
…On Sun, Sep 24, 2023 at 10:03 PM EmmaWebGH ***@***.***> wrote:
I posted today about this before I knew about this thread.
It would adding functionality to saved prompt styles - extending
functionality. Default behaviour when reading in saved styles would not
change, but from now on saving prompt styles would also save the other data
(like seed, CFG) and you could (with a checkbox next to the styles
dropdown) pull in that additional data too.
#10725
<#10725>
This would help us test prompts (with seeds) in an XY plot against
different checkpoints or loras.
—
Reply to this email directly, view it on GitHub
<#1737 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3RW2ZQBM6WWXKWVYI6TKG3X4DYA3ANCNFSM6AAAAAAQ5X6SLQ>
.
You are receiving this because you were mentioned.Message ID:
<AUTOMATIC1111/stable-diffusion-webui/repo-discussions/1737/comments/7096920
@github.com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I knot this feature is partially integrated as the styles.
I would love the option to open previously generated txt file with the UI and boom - you have all the previously saved settings which allows you to further enhance/regenerate your prompt. Also it would be cool to have the ability to save the UI settings in the independent presets (it would save the prompts and setting directly in the UI for the quick access).
Also IMO it's way better (and more portable) to keep the metadata in yaml (like hlky's UI does) instead of txt file (like AUTOMATIC1111 UI does currently).
Beta Was this translation helpful? Give feedback.
All reactions