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

The inability to use the ":" symbol in the prompt #914

Closed
Awuushy opened this issue Sep 27, 2024 · 2 comments · Fixed by #927
Closed

The inability to use the ":" symbol in the prompt #914

Awuushy opened this issue Sep 27, 2024 · 2 comments · Fixed by #927
Labels
bug Something isn't working

Comments

@Awuushy
Copy link

Awuushy commented Sep 27, 2024

What happened?

When I try to generate someone using LORA with a trigger word having a ":" sign, I just can't do it, I get an Invalid token error.
image

Steps to reproduce

  1. Open Stability Matrix
  2. Go to Inference
  3. Use LORA, for example, any character from Honkai: Star Rail
  4. Click "Generate Image"
  5. Enjoy the lack of result and Invalid token error due to the presence of the ":" sign in the trigger word

Relevant logs

No response

Version

v2.12.0

What Operating System are you using?

Windows

@Awuushy Awuushy added the bug Something isn't working label Sep 27, 2024
@mohnjiles mohnjiles mentioned this issue Oct 3, 2024
@Awuushy
Copy link
Author

Awuushy commented Oct 3, 2024

I do not know why, but after the update I still have this problem.
image

@mohnjiles
Copy link
Contributor

You should now be able to escape it with a backslash \, same as you have done with the parentheses.

mohnjiles pushed a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Dec 25, 2024
Fix JsonValue deserialize error with Inference with .net 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants