generate text存db内容简化

This commit is contained in:
2024-05-16 15:32:39 +08:00
parent 2aabb2347b
commit 5318e5d32a

View File

@@ -259,7 +259,7 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
switch (level1Type) { switch (level1Type) {
case "Moodboard": case "Moodboard":
text = translated + ",high quality"; text = translated + ",high quality";
generate.setText(text); // generate.setText(text);
break; break;
case "Printboard": case "Printboard":
if (userInput.contains("Painting Style")) { if (userInput.contains("Painting Style")) {
@@ -270,11 +270,11 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
userInput = "Still life photography,hyper realism,3d,deepened projection,increased permutation value,increased concavity and convexity value," + translated; userInput = "Still life photography,hyper realism,3d,deepened projection,increased permutation value,increased concavity and convexity value," + translated;
} }
text = userInput + ", fabric print, high quality"; text = userInput + ", fabric print, high quality";
generate.setText(text); // generate.setText(text);
break; break;
case "Sketchboard": case "Sketchboard":
text = "clear lines, simple outlines monochrome white vector image of " + translated + ", no background, sketch flat, front view display, best quality, ultra-high resolution 8k"; text = "clear lines, simple outlines monochrome white vector image of " + translated + ", no background, sketch flat, front view display, best quality, ultra-high resolution 8k";
generate.setText(text); // generate.setText(text);
default: default:
} }
return text; return text;