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
There is the patch sample, using the os.path.abspath for loading build-in lora always work for me.
os.path.abspath
--- extensions/a1111-sd-webui-locon/scripts/main.py 2023-05-03 04:48:01.944314067 +0000 +++ extensions/a1111-sd-webui-locon/scripts/main.path.py 2023-05-03 04:48:34.880357753 +0000 @@ -9,7 +9,7 @@ from modules import shared, devices, sd_models now_dir = os.path.dirname(os.path.abspath(__file__)) lora_path = os.path.join(now_dir, '..', '..', '..', 'extensions-builtin/Lora') -sys.path.insert(0, lora_path) +sys.path.insert(0, os.path.abspath(lora_path)) import lora new_lora = 'lora_calc_updown' in dir(lora)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is the patch sample, using the
os.path.abspath
for loading build-in lora always work for me.The text was updated successfully, but these errors were encountered: