We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf5405 commit 7b28226Copy full SHA for 7b28226
examples/sd-server/main.cpp
@@ -1758,6 +1758,11 @@ int main(int argc, char** argv) {
1758
desired_config = state.default_config;
1759
}
1760
1761
+ const bool has_vae_override = body.find("vae_path") != body.end();
1762
+ if (!has_vae_override) {
1763
+ desired_config.vae_path = state.default_config.vae_path;
1764
+ }
1765
+
1766
std::string context_error;
1767
if (!apply_context_overrides(body, desired_config, context_error)) {
1768
auto response = make_error_response(context_error, collector);
0 commit comments