generate print翻译输入修改

This commit is contained in:
2024-12-19 15:59:18 +08:00
parent 26f50c2acb
commit 2f4d060ca3

View File

@@ -328,11 +328,11 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
// generate.setText(text);
break;
case "Printboard":
if (userInput.contains("Painting Style")) {
if (prefix.contains("Painting Style")) {
text = "Picasso,increased color saturation,increased glossiness," + translated + ", fabric print, high quality";
} else if (userInput.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";
} else if (userInput.contains("Real Style")) {
} else if (prefix.contains("Real Style")) {
text = "Still life photography,hyper realism,3d,deepened projection,increased permutation value,increased concavity and convexity value," + translated + ", fabric print, high quality";
} else {
text = translated;