Skip to content
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

Prompt Editing is misconstrued. #50

Open
null0516 opened this issue Dec 2, 2024 · 4 comments
Open

Prompt Editing is misconstrued. #50

null0516 opened this issue Dec 2, 2024 · 4 comments

Comments

@null0516
Copy link

null0516 commented Dec 2, 2024

Clipboard - 2024-12-03 04 55 57

When using Prompt Editing with TIPO, the prompt is unexpectedly converted into a string containing mysterious numbers.

Clipboard - 2024-12-03 05 10 10

To address this, I tried generating with "No formatting" enabled, but this resulted in LoRAs being applied twice.

Clipboard - 2024-12-03 05 00 23

I suspect this is due to misinterpretation of characters like [].

I have confirmed this behavior in both a1111 (ver 1.10) and EasyReforge environments with the same extensions.

A fix would be greatly appreciated.

@KohakuBlueleaf
Copy link
Owner

[A:B:weight] is not supported currently. Since I have no idea if I should put the first one into TIPO prompt or second one or both, also I didn't find a better parser to parse it. (The parser in A1111 will directly split it into multiple prompt for different timestep which makes things worse)
You are welcome to open a PR for these special format support. include [A:B:weight], AND, and potentially more.

@null0516
Copy link
Author

I see what you mean.
So, is there any way to fix the bug where “No formatting” doubles the LORA?

@KohakuBlueleaf
Copy link
Owner

I see what you mean. So, is there any way to fix the bug where “No formatting” doubles the LORA?

On user side: no
But this bug is easier to fix
I will try to fix it recently

@KohakuBlueleaf
Copy link
Owner

A possible workaround is to put the lora annotation into format instead of prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants