OneTrainer icon indicating copy to clipboard operation
OneTrainer copied to clipboard

[Bug]: Additional lines in a caption text get deleted when creating a mask.

Open hyppyhyppo opened this issue 11 months ago • 0 comments

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

hyppyhyppo avatar Dec 29 '24 09:12 hyppyhyppo