refactor: refactor stable diffusion service, add service pool support

This commit is contained in:
RockYang
2023-12-14 16:48:54 +08:00
parent 4a56621ec3
commit 8f057ca9d1
14 changed files with 266 additions and 253 deletions

View File

@@ -11,7 +11,6 @@ type SdJob struct {
Progress int
Prompt string
Params string
Started bool
CreatedAt time.Time
}

View File

@@ -15,5 +15,4 @@ type SdJob struct {
Progress int `json:"progress"`
Prompt string `json:"prompt"`
CreatedAt time.Time `json:"created_at"`
Started bool `json:"started"`
}