generate去除额外prompt
This commit is contained in:
@@ -328,7 +328,8 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
|
|||||||
// generate.setText(text);
|
// generate.setText(text);
|
||||||
break;
|
break;
|
||||||
case "Printboard":
|
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";
|
text = "Picasso,increased color saturation,increased glossiness," + translated + ", fabric print, high quality";
|
||||||
} else if (prefix.contains("Illustration Style")) {
|
} 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";
|
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";
|
text = "Hyper realism,3d,deepened projection,increased permutation value,increased concavity and convexity value," + translated + ", fabric print, high quality";
|
||||||
} else {
|
} else {
|
||||||
text = translated;
|
text = translated;
|
||||||
}
|
}*/
|
||||||
// text = userInput + ", fabric print, high quality";
|
// text = userInput + ", fabric print, high quality";
|
||||||
// generate.setText(text);
|
// generate.setText(text);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user