File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -780,7 +780,7 @@ class StableDiffusionGGML {
780780 int start_merge_step,
781781 SDCondition id_cond,
782782 std::vector<int > skip_layers = {},
783- float slg_scale = 2.5 ,
783+ float slg_scale = 0 ,
784784 float skip_layer_start = 0.01 ,
785785 float skip_layer_end = 0.2 ) {
786786 size_t steps = sigmas.size () - 1 ;
@@ -1162,7 +1162,7 @@ sd_image_t* generate_image(sd_ctx_t* sd_ctx,
11621162 bool normalize_input,
11631163 std::string input_id_images_path,
11641164 std::vector<int > skip_layers = {},
1165- float slg_scale = 2.5 ,
1165+ float slg_scale = 0 ,
11661166 float skip_layer_start = 0.01 ,
11671167 float skip_layer_end = 0.2 ) {
11681168 if (seed < 0 ) {
@@ -1454,7 +1454,7 @@ sd_image_t* txt2img(sd_ctx_t* sd_ctx,
14541454 bool normalize_input,
14551455 const char * input_id_images_path_c_str,
14561456 std::vector<int > skip_layers = {},
1457- float slg_scale = 2.5 ,
1457+ float slg_scale = 0 ,
14581458 float skip_layer_start = 0.01 ,
14591459 float skip_layer_end = 0.2 ) {
14601460 LOG_DEBUG (" txt2img %dx%d" , width, height);
You can’t perform that action at this time.
0 commit comments