forked from lllyasviel/stable-diffusion-webui-forge
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Long story short: I'm using your extension on regular Forge and created an issue on it a week ago regarding same issue. Installed your fork to test it out, and benefit from more goodies (optimization apparently, it's faster/smoother?).
So I got the same errors that I had using the extension, figured out you didnt patch everything (even though the db_forge_lora and another file have been updated 8 days ago). I turned to gpt (dont get mad, it's useful), and it made me change the network.py file in the builtin extension sd_forge_lora folder.
See below the change
Before
def get_alias(self):
import networks
if shared.opts.lora_preferred_name == "Filename" or self.alias.lower() in networks.forbidden_network_aliases:
return self.name
else:
return self.alias
Which is now:
def get_alias(self):
import networks
preferred = getattr(shared.opts, "lora_preferred_name", "Filename")
if preferred == "Filename" or self.alias.lower() in networks.forbidden_network_aliases:
return self.name
else:
return self.alias
And well, it works. Your UI/UX is very neat, not perfect, but that's a story for another day :) You have my gratitude for your work sir!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels