-
Notifications
You must be signed in to change notification settings - Fork 205
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
feat: add default prompt support #204
Conversation
Add a new option `-d` for adding default prompt to the user prompt. Allow user to generate images without input (in such case they must toggle the `default` option) Add a new short cut `default` for quick accessing default prompt without any user input.
Use respond prompt to replace the original prompt as feedback, because the prompt may be affected by some plugins (e.g. dynamic-prompts)
|
This function is designed to generate images without any user input, and when users want to input something, this one doesn't modify the input unless the users call the trigger. |
Thay makes sense. But the current implementation doesn't looks good to me. Instead of adding a new shortcut, what about the approach like this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
src/locales/zh-CN.yml
Outdated
@@ -22,6 +22,7 @@ commands: | |||
strength: 图片修改幅度 | |||
noise: 图片噪声强度 | |||
hiresFix: 启用高分辨率修复 | |||
default: 添加默认提示词 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just 默认标签
src/locales/zh-TW.yml
Outdated
@@ -20,6 +20,7 @@ commands: | |||
strength: 圖像修改幅度 | |||
noise: 圖像雜訊強度 | |||
hiresFix: 啟用高分辨率修復 | |||
default: 默認提示詞 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No add translation in a PR, you could add it from crowdin.
Add a new option
-d
for adding a default prompt to the user prompt.Allow users to generate images without input (in such cases they must toggle the
default
option).Add a new shortcut
default
for quick accessing the default prompt without any user input.