OneTrainer
OneTrainer copied to clipboard
[Bug]: Additional lines in a caption text get deleted when creating a mask.
What happened?
I have a dataset with captions made of several lines. In the Tools tab, I create a mask for an image, when saving it by hitting enter in the caption field, the additional lines in the caption file get removed. It behave like the caption field can only read the first line.
What did you expect would happen?
Don't remove lines from a caption files when editing an image in the Dataset Tools. Or support of several lines in the caption field.
Relevant log output
No response
Output of pip freeze
No response