mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
feat: add support for Flux Controls and Flex.2 (#692)
This commit is contained in:
1 parent
35843c77ea
commit
11f436c483
7 files changed
+156
-34
No files matched your search
@@ -1246,7 +1246,7 @@ int main(int argc, const char* argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
if (params.control_net_path.size() > 0 && params.control_image_path.size() > 0) {
|
||||
if (params.control_image_path.size() > 0) {
|
||||
int width = 0;
|
||||
int height = 0;
|
||||
control_image.data = load_image(params.control_image_path.c_str(), width, height, params.width, params.height);
|
||||
|
||||
Reference in new issue
Block a user