invoke-ai / invoke-ai/InvokeAI
[enhancement]: Auto-remove the comma (,) preceding or proceeding {prompt} when the prompt is empty.
- Dominant language
- Python
- Stars
- 28.2k
- Forks
- 3k
- Avg merge
- 6d 5h
- Merged PRs (30d)
- 19
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Contact Details
_No response_
### What should this feature add?
Under current implementation of prompt templates, if a prompt template has a comma (,) preceding or proceeding {prompt}, it is used as it is even if no prompt is given, altering the image generation slightly. It would be great if it were removed automatically when no additional prompt was given.

### Alternatives
_No response_
### Additional Content
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.