generate去除额外prompt

This commit is contained in:
2024-12-19 17:26:16 +08:00
parent 5b653272ee
commit 0574180e4b

View File

@@ -328,7 +328,8 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
// generate.setText(text);
break;
case "Printboard":
if (prefix.contains("Painting Style")) {
text = translated;
/*if (prefix.contains("Painting Style")) {
text = "Picasso,increased color saturation,increased glossiness," + translated + ", fabric print, high quality";
} else if (prefix.contains("Illustration Style")) {
text = "Flat coating,romantic,soft,pencil strokes,accentuating and widening the depth of pencil strokes,paper patterns,block colors,crayons,reducing image contrast,and hand drawn painting marks," + translated + ", fabric print, high quality";
@@ -336,7 +337,7 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
text = "Hyper realism,3d,deepened projection,increased permutation value,increased concavity and convexity value," + translated + ", fabric print, high quality";
} else {
text = translated;
}
}*/
// text = userInput + ", fabric print, high quality";
// generate.setText(text);
break;