-
Notifications
You must be signed in to change notification settings - Fork 25.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Comment out certain words in prompt input box #4263
Comments
I've also been wishing for this feature. It would super helpful, especially when sharing prompts. Thanks for considering. |
So I was also wishing for this, and even considering implementing it, though not too familiar with all the AI tools, and my python is somewhat rusty. But then I realized, that this feature is sorta not needed, as it can be emulated already. One can use prompt editing feature to achieve this. say you have prompt: |
As a programmer, i have been wishing for this feature as well, i personally make notepad files with structures for my prompt, having comment lines that start with // or # would be very nice since it would allow me to have a prearranged structure explained in comments on multiple lines to not forget elements, I could just copy and paste them into the UI and modify them right away. Example:
Alternatively since this gets sent as one string parameter this kind of syntax could also be used (C++ like)
If it were included in the picture embedded data, i think it would help people understand the structure of prompt better and promote more coherently built prompts. |
try "<comment:bla bla bla>", it will call a model "comment", lol |
same trick as NoiseDesign I am just doing this: if I want to comment out smth: Not the cleanest way but it's fast and efficient! |
Closing as in the PR (#10486) it was determined this would not be implemented. For alternatives you could use the dynamic scripts extension or hijack the extra networks syntax, |
Some legend implemented it with a few lines of code: https://github.com/itsui/sd-webui-infolk-prompt-comment You can even set the char to whatever you want by a simple .js edit, it's # by default. |
Is there an existing issue for this?
What would your feature do ?
When I write prompts, it will gets longer and become harder to read, I think it would be nice to have a way to comment out certain words like other programming languages, or if there is any other way to do this, so I could write prompts with better readability
I tried use zero attention like (discribtion:0) but it seemed still have effects on final results.
Proposed workflow
Additional information
No response
The text was updated successfully, but these errors were encountered: