We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When auto-completing a LoRA name including parenthesis in the prompt, those are escaped and thus the file cannot be found.
A quick fix could be to add in autocomplete.PromptAutoComplete the property :
autocomplete.PromptAutoComplete
@property def is_lora_mode(self): prefix = self._current_text() name = prefix.removeprefix("<lora:") return len(prefix) > len(name)
An alter first line of the _insert_completion() method :
_insert_completion()
if not self.is_lora_mode: completion = completion.replace("(", "\\(").replace(")", "\\)")
The text was updated successfully, but these errors were encountered:
Don't escape parenthesis in lora file names #1213
32c1767
Fixed in 1.26.0
Sorry, something went wrong.
No branches or pull requests
When auto-completing a LoRA name including parenthesis in the prompt, those are escaped and thus the file cannot be found.
A quick fix could be to add in
autocomplete.PromptAutoComplete
the property :An alter first line of the
_insert_completion()
method :The text was updated successfully, but these errors were encountered: