From 2f4d060ca308a642af34792c3de17251f2f1a296 Mon Sep 17 00:00:00 2001 From: xupei Date: Thu, 19 Dec 2024 15:59:18 +0800 Subject: [PATCH] =?UTF-8?q?generate=20print=E7=BF=BB=E8=AF=91=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ai/da/service/impl/GenerateServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/ai/da/service/impl/GenerateServiceImpl.java b/src/main/java/com/ai/da/service/impl/GenerateServiceImpl.java index fe8f7994..3565eb27 100644 --- a/src/main/java/com/ai/da/service/impl/GenerateServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/GenerateServiceImpl.java @@ -328,11 +328,11 @@ public class GenerateServiceImpl extends ServiceImpl 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;