随机数种子

This commit is contained in:
2023-06-23 02:31:45 +08:00
parent 8e874f7d0f
commit fa2102af38
3 changed files with 4 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ func (model *Model) Inference(image_list []Image, callback func(Image)) {
//HrNegativePrompt string `json:"hr_negative_prompt"`
Prompt string `json:"prompt"`
//Styles []string `json:"styles"`
//Seed int `json:"seed"`
Seed int `json:"seed"`
//Subseed int `json:"subseed"`
//SubseedStrength int `json:"subseed_strength"`
//SeedResizeFromH int `json:"seed_resize_from_h"`
@@ -147,7 +147,7 @@ func (model *Model) Inference(image_list []Image, callback func(Image)) {
//HrNegativePrompt: "",
Prompt: image_list[0].Prompt,
//Styles: []string{},
//Seed: -1,
Seed: image_list[0].Seed,
//Subseed: -1,
//SubseedStrength: 0,
//SeedResizeFromH: -1,