随机数种子
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user