generate mode修改

This commit is contained in:
2024-04-23 14:21:18 +08:00
parent ff842c5443
commit c31a4bcd8f
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ public enum GenerateModeEnum {
/**
* 通过文本和图片生成
*/
TEXT_IMAGE(2, "text-image","txt2img");
TEXT_IMAGE(2, "text-image","img2img");
private Integer code;
private String value;

View File

@@ -265,7 +265,7 @@ public class GenerateServiceImpl extends ServiceImpl<GenerateMapper, Generate> i
generate.setText(text);
break;
case "Sketchboard":
text = "a single item of " + userInput + "with clean background, hand-drawing sketch style, high quality";
text = "a single item , " + userInput + ", clean background, hand-drawing sketch style, high quality";
generate.setText(text);
default:
}