-
Notifications
You must be signed in to change notification settings - Fork 172
Add LoRA and ControlNet tabs to the Qt GUI #320
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
Conversation
Add LoRA models tab to the Qt GUI
Code formatting
Add ControlNet models tab to the Qt GUI
Added the common_widgets.py file to remove duplicated code for the ControlNet and LoRA tabs in the Qt GUI.
This commit attempts to reset the loaded LoRAs in the Qt GUI when the image generation pipeline is rebuilt.
Minor changes
Minor changes
Merge local branch into lora branch
|
@monstruosoft Thanks for the PR .
|
|
Thanks for spotting that crash, will fix it ASAP. |
This commit fixes a crash when enabling ControlNet prior to initializing a pipeline in the Qt GUI.
|
The latest commit should fix the crash. Sorry it took that long for me to post such a simple fix. |
|
@monstruosoft |
|
@monstruosoft Enable controlnet checkbox still causing crash |
|
Right... sorry. Both of these crashes are caused when there are no LoRAs or ControlNet adapters available. |
We want to avoid all cases of crashes, as it will impact the quality of FastSD |
|
Sure. It's easy to miss the case when there are no LoRAs if you're trying to make LoRAs work. Will code a fix for these crashes. |
Thank you |
This commit fixes a crash in the Qt GUI when there are no LoRAs or ControlNet adapters present.
|
OK, hopefully the crashes are really fixed this time. |
|
|
@monstruosoft Please remove the highlighted logging line |
Can you give more details about that? I have no issues there. I'm running FastSD on Linux. |
|
Are there any ControlNet adapters in the controlnet_models folder? Much like in the LoRA tab, if there are no .safetensors files in that folder, the option to use ControlNet will be disabled. Drag and drop will only work with ControlNet enabled so that should do it. |
|
@monstruosoft I added controlnet model,enabled controlnet but still drag and drop is not working we need a solution it should work cross platform(Windows/Linux/Mac). |
|
OK, will add the ControlNet message. |
Yes, that is perfect |
Add ControlNet file selection dialog
Add ControlNet file selection dialog
|
Added a File dialog button to the ControlNet tab. Hopefully it's working correctly this time. |
Fix typo
@monstruosoft Thanks, a few more comments regarding UI
|
Minor Qt GUI changes
Minor Qt GUI changes
|
I made all the suggested changes. To be fair, I removed the drag and drop message but the widget still allows dropping an image, on Linux, that is. I find it useful when using FastSD myself. |
Fix default ControlNet weight.
|
Sorry, my bad. It should be correct this time. |
|
@monstruosoft Thank you for the PR. |







This PR adds LoRA and ControlNet tabs to the Qt GUI. LoRA and ControlNet are currently only supported for SD 1.5.