generate mode修改
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user